Screen.getWidth
int getWidth()Gets the width of screen in pixels. The returned size is in ”application pixels”, not in ”device pixels” (see gdk.screen.Screen.getMonitorScaleFactor).
Returns
the width of screen in pixels.
Deprecated
Use per-monitor information instead