[ CCode ( cname = "gdk_x11_get_xatom_by_name_for_display" ) ]
public Atom get_xatom_by_name (string atom_name)
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 intern_atom, which is a round trip to the server each time.
atom_name |
a string |
display |
a `GdkDisplay` |
a X atom for a `GdkDisplay` |