Class
GdkX11.X11Display
Instance methods
gdk_x11_display_broadcast_startup_message
Sends a startup notification message of type message_type
to
display
.
gdk_x11_display_error_trap_pop
Pops the error trap pushed by gdk_x11_display_error_trap_push()
.
Will XSync()
if necessary and will always block until
the error is known to have occurred or not occurred,
so the error code can be returned.
gdk_x11_display_error_trap_pop_ignored
Pops the error trap pushed by gdk_x11_display_error_trap_push()
.
Does not block to see if an error occurred; merely records the
range of requests to ignore errors for, and ignores those errors
if they arrive asynchronously.
gdk_x11_display_error_trap_push
Begins a range of X requests on display
for which X error events
will be ignored. Unignored errors (when no trap is pushed) will abort
the application. Use gdk_x11_display_error_trap_pop()
or
gdk_x11_display_error_trap_pop_ignored()
to lift a trap pushed
with this function.
gdk_x11_display_get_default_group
Returns the default group leader surface for all toplevel surfaces
on display
. This surface is implicitly created by GDK.
See gdk_x11_surface_set_group()
.
gdk_x11_display_get_glx_version
Retrieves the version of the GLX implementation.
gdk_x11_display_get_primary_monitor
Gets the primary monitor for the display.
gdk_x11_display_get_screen
Retrieves the GdkX11Screen
of the display
.
gdk_x11_display_get_startup_notification_id
Gets the startup notification ID for a display.
gdk_x11_display_get_user_time
Returns the timestamp of the last user interaction on
display
. The timestamp is taken from events caused
by user interaction such as key presses or pointer
movements. See gdk_x11_surface_set_user_time()
.
gdk_x11_display_get_xcursor
Returns the X cursor belonging to a GdkCursor
, potentially
creating the cursor.
gdk_x11_display_get_xdisplay
Returns the X display of a GdkDisplay
.
gdk_x11_display_get_xrootwindow
Returns the root X window used by GdkDisplay
.
gdk_x11_display_get_xscreen
Returns the X Screen used by GdkDisplay
.
gdk_x11_display_grab
Call XGrabServer()
on display
.
To ungrab the display again, use gdk_x11_display_ungrab()
.
gdk_x11_display_set_cursor_theme
Sets the cursor theme from which the images for cursor should be taken.
gdk_x11_display_set_startup_notification_id
Sets the startup notification ID for a display.
gdk_x11_display_set_surface_scale
Forces a specific window scale for all windows on this display,
instead of using the default or user configured scale. This
is can be used to disable scaling support by setting scale
to
1, or to programmatically set the window scale.
gdk_x11_display_string_to_compound_text
Convert a string from the encoding of the current locale into a form suitable for storing in a window property.
gdk_x11_display_text_property_to_text_list
Convert a text string from the encoding as it is stored in a property into an array of strings in the encoding of the current locale. (The elements of the array represent the nul-separated elements of the original text string.)
gdk_x11_display_ungrab
Ungrab display
after it has been grabbed with
gdk_x11_display_grab()
.
gdk_x11_display_utf8_to_compound_text
Converts from UTF-8 to compound text.
Signals
GdkX11.X11Display::xevent
The ::xevent signal is a low level signal that is emitted whenever an XEvent has been received.
Functions
gdk_x11_display_open
Tries to open a new display to the X server given by
display_name
. If opening the display fails, NULL
is returned.
gdk_x11_display_set_program_class
Sets the program class.