Function

GdkX11x11_get_xatom_by_name

Declaration [src]

Atom
gdk_x11_get_xatom_by_name (
  const gchar* atom_name
)

Description [src]

Returns the X atom for GDK’s default display 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.

Parameters

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 GDK’s default display.