XCB Atom Functions

Functions that operate on atoms. More...

Functions

EAPI void ecore_x_atom_get_prefetch (const char *name)
 Sends the InternAtom request.
EAPI void ecore_x_atom_get_fetch (void)
 Gets the reply of the InternAtom request sent by ecore_x_atom_get_prefetch().
EAPI Ecore_X_Atom ecore_x_atom_get (const char *name)
 Retrieves the atom value associated to a name.
EAPI void ecore_x_get_atom_name_prefetch (Ecore_X_Atom atom)
 Sends the GetAtomName request.
EAPI void ecore_x_get_atom_name_fetch (void)
 Gets the reply of the GetAtomName request sent by ecore_x_get_atom_name_prefetch().
EAPI char * ecore_x_atom_name_get (Ecore_X_Atom atom)
 Retrieves the name of the given atom.

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:
name Unused.
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 void ecore_x_atom_get_prefetch ( const char *  name  ) 

Sends the InternAtom request.

Parameters:
name Name of the requested atom.
EAPI char* ecore_x_atom_name_get ( Ecore_X_Atom  atom  ) 

Retrieves the name of the given atom.

Parameters:
atom Unused.
Returns:
The name of the atom.

To use this function, you must call before, and in order, ecore_x_get_atom_name_prefetch(), which sends the GetAtomName request, then ecore_x_get_atom_name_fetch(), which gets the reply.

EAPI void ecore_x_get_atom_name_prefetch ( Ecore_X_Atom  atom  ) 

Sends the GetAtomName request.

Parameters:
atom Atom to get the name from.