Method

GdkX11X11Screenget_number_of_desktops

Declaration [src]

guint32
gdk_x11_screen_get_number_of_desktops (
  GdkX11Screen* screen
)

Description [src]

Returns the number of workspaces for screen when running under a window manager that supports multiple workspaces, as described in the Extended Window Manager Hints specification.

Return value

Type: guint32

The number of workspaces, or 0 if workspaces are not supported.