Function xcb::xproto::intern_atom_unchecked[][src]

pub fn intern_atom_unchecked<'a>(
    c: &'a Connection,
    only_if_exists: bool,
    name: &str
) -> InternAtomCookie<'a>

Get atom identifier by name

Retrieves the identifier (xcb_atom_t TODO) for the atom with the specified name. Atoms are used in protocols like EWMH, for example to store window titles (_NET_WM_NAME atom) as property of a window.

If only_if_exists is 0, the atom will be created if it does not already exist. If only_if_exists is 1, XCB_ATOM_NONE will be returned if the atom does not yet exist.

parameters: