Top |
GdkScreen * | xfce_gdk_screen_get_active () |
GdkRectangle * | xfce_gdk_screen_get_geometry () |
gboolean | xfce_gdk_device_grab () |
GdkScreen *
xfce_gdk_screen_get_active (gint *monitor_return
);
Returns the currently active GdkScreen, that is, the screen which currently contains the pointer. If no active screen was found, the default GdkScreen is returned.
GdkRectangle *
xfce_gdk_screen_get_geometry (void
);
Returns the width and height of the default GdkScreen. This is a replacement for gdk_screen_width/gdk_screen_height.
Since: 4.14
gboolean xfce_gdk_device_grab (GdkSeat *seat
,GdkWindow *window
,GdkSeatCapabilities capabilities
,GdkCursor *cursor
);
Similar to gdk_seat_grab but tries to grab the seat five times with 100ms between each attempt.
seat |
A GdkSeat. |
|
window |
The GdkWindow which will own the grab. |
|
capabilities |
Capabilities that will be grabbed. |
|
cursor |
The cursor to display while the grab is active. If this
is |
[nullable] |
Since: 4.18