Function

GdkX11x11_get_xatom_by_name_for_display

Declaration [src]

Atom
gdk_x11_get_xatom_by_name_for_display (
  GdkDisplay* display,
  const char* 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.

Parameters

display

Type: GdkX11Display

A GdkDisplay.

The data is owned by the caller of the function.
atom_name

Type: const char*

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.