get_xatom_by_name
Description:
[ CCode ( cname = "gdk_x11_get_xatom_by_name_for_display" ) ]
[ Version ( deprecated = true , deprecated_since = "4.18" ) ]
public Atom get_xatom_by_name (string atom_name)
[ Version ( deprecated = true , deprecated_since = "4.18" ) ]
public Atom get_xatom_by_name (string atom_name)
Warning: get_xatom_by_name is deprecated since 4.18.
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.
Parameters:
atom_name |
a string |
display |
a `GdkDisplay` |
Returns:
a X atom for a `GdkDisplay` |