Method

GdkScreenget_width

Declaration [src]

gint
gdk_screen_get_width (
  GdkScreen* screen
)

Description [src]

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()).

Available since:2.2
Deprecated since:3.22

Use per-monitor information instead.

Return value

Returns: int
 

The width of screen in pixels.