get_xatom_by_name


Description:

[ 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.

Parameters:

atom_name

a string

display

a `GdkDisplay`

Returns:

a X atom for a `GdkDisplay`




2022 vala-language.org