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