gdk-x11-3.0 Reference Manual
gdk-x11-3.0
Description:
X backend-specific API for gdk.
Home:
https://www.gtk.org/
C-Documentation:
https://docs.gtk.org/gdk3-x11/
Content:
Namespaces:
Gdk
Classes:
X11AppLaunchContext
X11Cursor
X11Display
X11DisplayManager
X11DragContext
X11Keymap
X11Screen
X11Visual
X11Window
Methods:
public
Atom
x11_atom_to_xatom
(
Atom
atom)
public
Atom
x11_atom_to_xatom_for_display
(
Display
display,
Atom
atom)
public
void
x11_free_compound_text
(
uchar
[] ctext)
public
void
x11_free_text_list
(
string
list)
public
Window
x11_get_default_root_xwindow
()
public
int
x11_get_default_screen
()
public
unowned
Display
x11_get_default_xdisplay
()
public
uint32
x11_get_server_time
(
Window
window)
public
Atom
x11_get_xatom_by_name
(
string
atom_name)
public
Atom
x11_get_xatom_by_name_for_display
(
Display
display,
string
atom_name)
public
unowned
string
x11_get_xatom_name
(
Atom
xatom)
public
unowned
string
x11_get_xatom_name_for_display
(
Display
display,
Atom
xatom)
public
void
x11_grab_server
()
public
unowned
Display
x11_lookup_xdisplay
(
Display
xdisplay)
public
void
x11_register_standard_event_type
(
Display
display,
int
event_base,
int
n_events)
public
void
x11_set_sm_client_id
(
string
sm_client_id)
public
void
x11_ungrab_server
()
public
Atom
x11_xatom_to_atom
(
Atom
xatom)
public
Atom
x11_xatom_to_atom_for_display
(
Display
display,
Atom
xatom)
X11
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