Method

GdkScreenget_width

deprecated: 3.22 since: 2.2

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

Type: gint

The width of screen in pixels.