Gdk.X11 – gdk-x11-3.0 Reference Manual
X11
Description:
public
namespace
X11
Namespace:
Gdk.X11
Package:
gdk-x11-3.0
Content:
Classes:
AppLaunchContext
Cursor
DeviceCore
DeviceManagerCore
DeviceManagerXI2
DeviceXI2
Display
DisplayManager
DragContext
GLContext
Keymap
Monitor
Screen
Visual
Window
Methods:
public
Atom
atom_to_xatom
(
Atom
atom)
Converts from a
Atom
to the X atom for the default GDK display with the same string value.
public
Atom
atom_to_xatom_for_display
(
Display
display,
Atom
atom)
Converts from a
Atom
to the X atom for a
Display
with the same string value.
public
int
device_get_id
(
DeviceCore
device)
Returns the device ID as seen by XInput2.
public
void
free_compound_text
(
owned
uint8
[] ctext)
Frees the data returned from
string_to_compound_text
.
public
void
free_text_list
(
owned
string
[] list)
Frees the array of strings created by
text_property_to_text_list
.
public
Window
get_default_root_xwindow
()
Gets the root window of the default screen (see
get_default_screen
).
public
int
get_default_screen
()
Gets the default GTK+ screen number.
public
unowned
Display
get_default_xdisplay
()
Gets the default GTK+ display.
public
Pattern
get_parent_relative_pattern
()
Used with
set_background_pattern
to inherit background from parent window.
public
uint32
get_server_time
(
Window
window)
Routine to get the current X server time stamp.
public
Atom
get_xatom_by_name
(
string
atom_name)
Returns the X atom for GDK’s default display corresponding to
atom_name
.
public
Atom
get_xatom_by_name_for_display
(
Display
display,
string
atom_name)
Returns the X atom for a
Display
corresponding to
atom_name
.
public
unowned
string
get_xatom_name
(
Atom
xatom)
Returns the name of an X atom for GDK’s default display.
public
unowned
string
get_xatom_name_for_display
(
Display
display,
Atom
xatom)
Returns the name of an X atom for its display.
public
void
grab_server
()
Call
grab
on the default display.
public
void
register_standard_event_type
(
Display
display,
int
event_base,
int
n_events)
Registers interest in receiving extension events with type codes between
event_base
and `event_base + n_events - 1`.
public
void
set_sm_client_id
(
string
? sm_client_id)
Sets the `SM_CLIENT_ID` property on the application’s leader window so that the window manager can save the application’s state using the X11R6 ICCCM session management protocol.
public
void
ungrab_server
()
Ungrab the default display after it has been grabbed with
grab_server
.
public
Atom
xatom_to_atom
(
Atom
xatom)
Convert from an X atom for the default display to the corresponding
Atom
.
public
Atom
xatom_to_atom_for_display
(
Display
display,
Atom
xatom)
Convert from an X atom for a
Display
to the corresponding
Atom
.
2022 vala-language.org