Functions¶
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Details¶
- GdkX11.x11_device_get_id(device)[source]¶
 - Parameters:
 device (
GdkX11.X11DeviceXI2) – aGdkDevice- Returns:
 the XInput2 device ID
- Return type:
 
Returns the device ID as seen by XInput2.
Deprecated since version 4.18.
- GdkX11.x11_device_manager_lookup(device_manager, device_id)[source]¶
 - Parameters:
 device_manager (
GdkX11.X11DeviceManagerXI2) – aGdkDeviceManagerdevice_id (
int) – a device ID, as understood by the XInput2 protocol
- Returns:
 The
GdkDevicewrapping the device ID, orNoneif the given ID doesn’t currently represent a device.- Return type:
 
Returns the
GdkDevicethat wraps the given device ID.Deprecated since version 4.18.
- GdkX11.x11_free_compound_text(ctext)[source]¶
 - Parameters:
 ctext (
int) – The pointer stored in ctext from a call toGdkX11.X11Display.string_to_compound_text().
Frees the data returned from
GdkX11.X11Display.string_to_compound_text().Deprecated since version 4.18.
- GdkX11.x11_free_text_list(list)[source]¶
 - Parameters:
 list (
str) – the value stored in the list parameter by a call toGdkX11.X11Display.text_property_to_text_list().
Frees the array of strings created by
GdkX11.X11Display.text_property_to_text_list().Deprecated since version 4.18.
- GdkX11.x11_get_server_time(surface)[source]¶
 - Parameters:
 surface (
GdkX11.X11Surface) – aGdkSurface, used for communication with the server. The surface must haveGDK_PROPERTY_CHANGE_MASKin its events mask or a hang will result.- Returns:
 the time stamp
- Return type:
 
Routine to get the current X server time stamp.
Deprecated since version 4.18.
- GdkX11.x11_get_xatom_by_name_for_display(display, atom_name)[source]¶
 - Parameters:
 display (
GdkX11.X11Display) – aGdkDisplayatom_name (
str) – a string
- Returns:
 a X atom for a
GdkDisplay- Return type:
 
Returns the X atom for a
GdkDisplaycorresponding to atom_name. This function caches the result, so if called repeatedly it is much faster than XInternAtom(), which is a round trip to the server each time.Deprecated since version 4.18.
- GdkX11.x11_get_xatom_name_for_display(display, xatom)[source]¶
 - Parameters:
 display (
GdkX11.X11Display) – theGdkDisplaywhere xatom is definedxatom (
int) – an X atom
- Returns:
 name of the X atom; this string is owned by GDK, so it shouldn’t be modified or freed.
- Return type:
 
Returns the name of an X atom for its display. This function is meant mainly for debugging, so for convenience, unlike XAtomName() and the result doesn’t need to be freed.
Deprecated since version 4.18.
- GdkX11.x11_lookup_xdisplay(xdisplay)[source]¶
 - Parameters:
 xdisplay (
xlib.Display) – a pointer to an Xxlib.Display- Returns:
 the
GdkDisplay, if found, otherwiseNone.- Return type:
 
Find the
GdkDisplaycorresponding to xdisplay, if any exists.
- GdkX11.x11_set_sm_client_id(sm_client_id)[source]¶
 - Parameters:
 sm_client_id (
strorNone) – the client id assigned by the session manager when the connection was opened, orNoneto remove the property.
Sets the
SM_CLIENT_IDproperty on the application’s leader window so that the window manager can save the application’s state using the X11R6 ICCCM session management protocol.See the X Session Management Library documentation for more information on session management and the Inter-Client Communication Conventions Manual