Screen.getWidth

Gets the width of @screen in pixels. The returned size is in ”application pixels”, not in ”device pixels” (see gdk_screen_get_monitor_scale_factor()).

More...
class Screen
int
getWidth
()

Detailed Description

Deprecated: Use per-monitor information instead

Return: the width of @screen in pixels.

Meta