Class

GdkX11X11Display

Description

final class GdkX11.X11Display : Gdk.Display
{
  /* No available fields */
}

No description available.

Ancestors

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.

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_egl_display

Retrieves the EGL display connection object for the given GDK display.

since: 4.4

gdk_x11_display_get_egl_version

Retrieves the version of the EGL implementation.

since: 4.4

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.

deprecated: 4.10 

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.

deprecated: 4.16 

gdk_x11_display_set_startup_notification_id

Sets the startup notification ID for a display.

deprecated: 4.10 

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.

Methods inherited from GdkDisplay (28)

Please see GdkDisplay for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from GdkDisplay (5)
Gdk.Display:composited

TRUE if the display properly composites the alpha channel.

Gdk.Display:dmabuf-formats

The dma-buf formats that are supported on this display.

Gdk.Display:input-shapes

TRUE if the display supports input shapes.

Gdk.Display:rgba

TRUE if the display supports an alpha channel.

Gdk.Display:shadow-width

TRUE if the display supports extensible frames.

Signals

GdkX11.X11Display::xevent

The ::xevent signal is a low level signal that is emitted whenever an XEvent has been received.

Signals inherited from GdkDisplay (5)
GdkDisplay::closed

Emitted when the connection to the windowing system for display is closed.

GdkDisplay::opened

Emitted when the connection to the windowing system for display is opened.

GdkDisplay::seat-added

Emitted whenever a new seat is made known to the windowing system.

GdkDisplay::seat-removed

Emitted whenever a seat is removed by the windowing system.

GdkDisplay::setting-changed

Emitted whenever a setting changes its value.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GdkX11X11DisplayClass {
  /* no available fields */
}

No description available.