XmInternAtom man page

XmInternAtom — A macro that returns an atom for a given name


#include <Xm/AtomMgr.h>
Atom XmInternAtom(
Display * display,
String name,
Boolean only_if_exists);


XmInternAtom returns an atom for a given name. The returned atom remains defined even after the client's connection closes. The returned atom becomes undefined when the last connection to the X server closes.

Specifies the connection to the X server
Specifies the name associated with the atom you want returned. The value of name is case dependent.
Specifies a Boolean value. If False, the atom is created even if it does not exist. (If it does not exist, the returned atom will be None.) If True, the atom is created only if it exists.


Returns an atom.

Referenced By

VendorShell(3), XmActivateProtocol(3), XmActivateWMProtocol(3), XmAddProtocolCallback(3), XmAddProtocols(3), XmAddWMProtocolCallback(3), XmAddWMProtocols(3), XmDeactivateProtocol(3), XmDeactivateWMProtocol(3), XmRemoveProtocolCallback(3), XmRemoveProtocols(3), XmRemoveWMProtocolCallback(3), XmRemoveWMProtocols(3), XmSetProtocolHooks(3), XmSetWMProtocolHooks(3).

Explore man page connections for XmInternAtom(3).