Display
Object Hierarchy:
Description:
[ CCode ( type_id = "gdk_x11_display_get_type ()" ) ]
[ GIR ( name = "X11Display" ) ]
public sealed class Display : Display
[ GIR ( name = "X11Display" ) ]
public sealed class Display : Display
Namespace: Gdk.X11
Package: gdk-x11-3.0
Content:
Static methods:
- public static bool get_glx_version (Display display, out int major, out int minor)
Retrieves the version of the GLX implementation.
- public static unowned Display lookup_for_xdisplay (Display xdisplay)
Find the Display corresponding to
xdisplay
, if any exists.
Creation methods:
- protected Display ()
Methods:
- public void broadcast_startup_message (string message_type, ...)
Sends a startup notification message of type
message_type
to this. - public int error_trap_pop ()
Pops the error trap pushed by error_trap_push.
- public void error_trap_pop_ignored ()
Pops the error trap pushed by error_trap_push.
- public void error_trap_push ()
Begins a range of X requests on this for which X error events will be ignored.
- public unowned string get_startup_notification_id ()
Gets the startup notification ID for a display.
- public uint32 get_user_time ()
Returns the timestamp of the last user interaction on this.
- public unowned Display get_xdisplay ()
Returns the X display of a Display.
- public void grab ()
Call grab_server on this.
- public void set_cursor_theme (string? theme, int size)
Sets the cursor theme from which the images for cursor should be taken.
- public void set_startup_notification_id (string startup_id)
Sets the startup notification ID for a display.
- public void set_window_scale (int scale)
Forces a specific window scale for all windows on this display, instead of using the default or user configured scale.
- public int string_to_compound_text (string str, out Atom encoding, out int format, out uint8[] ctext)
Convert a string from the encoding of the current locale into a form suitable for storing in a window property.
- public int text_property_to_text_list (Atom encoding, int format, string text, int length, out string[] 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.
- public void ungrab ()
Ungrab this after it has been grabbed with grab.
- public bool utf8_to_compound_text (string str, out Atom encoding, out int format, out uint8[] ctext)
Converts from UTF-8 to compound text.
Inherited Members:
All known members inherited from class Gdk.Display
- pointer_is_grabbed
- pointer_ungrab
- put_event
- request_selection_notification
- seat_added
- seat_removed
- set_double_click_distance
- set_double_click_time
- store_clipboard
- supports_clipboard_persistence
- supports_composite
- supports_cursor_alpha
- supports_cursor_color
- supports_input_shapes
- supports_selection_notification
- supports_shapes
- sync
- warp_pointer
All known members inherited from class GLib.Object