Function
GdkX11x11_get_xatom_by_name_for_display
since: 2.2
Declaration [src]
Atom
gdk_x11_get_xatom_by_name_for_display (
GdkDisplay* display,
const gchar* atom_name
)
Description [src]
Returns the X atom for a GdkDisplay
corresponding 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.
Available since: 2.2
Parameters
display
-
Type:
GdkX11Display
A
GdkDisplay
.The data is owned by the caller of the function. atom_name
-
Type:
const gchar*
A string.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: Atom
A X atom for a GdkDisplay
.