XCB Atom Functions

Functions that operate on atoms. More...

Functions

EAPI Ecore_X_Atom ecore_x_atom_get (const char *name)
 Retrieves the atom value associated to a name. More...
 
EAPI char * ecore_x_atom_name_get (Ecore_X_Atom atom)
 Retrieves the name of the given atom. More...
 

Detailed Description

Functions that operate on atoms.

Function Documentation

EAPI Ecore_X_Atom ecore_x_atom_get ( const char *  name)

Retrieves the atom value associated to a name.

Parameters
nameUnused.
Returns
Associated atom value.

Retrieves the atom value associated to a name. The reply is the returned value of the function ecore_xcb_intern_atom_reply(). If reply is NULL, the NULL atom is returned. Otherwise, the atom associated to the name is returned.

To use this function, you must call before, and in order, ecore_x_atom_get_prefetch(), which sends the InternAtom request, then ecore_x_atom_get_fetch(), which gets the reply.

EAPI char* ecore_x_atom_name_get ( Ecore_X_Atom  atom)

Retrieves the name of the given atom.

Parameters
atom
Returns
The name of the atom.