Struct xcb::x::InternAtom [−][src]
Expand description
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.
Fields
only_if_exists: bool
Return a valid atom id only if the atom already exists.
name: &'a str
The name of the atom.
Trait Implementations
Actual implementation of the request sending Read more
type Cookie = InternAtomCookie
type Cookie = InternAtomCookie
The default cookie associated to this request.
type Reply = InternAtomReply
type Reply = InternAtomReply
Reply associated with the request
type Cookie = InternAtomCookie
type Cookie = InternAtomCookie
Default cookie type for the request, as returned by Connection::send_request.
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations
impl<'a> RefUnwindSafe for InternAtom<'a>
impl<'a> Send for InternAtom<'a>
impl<'a> Sync for InternAtom<'a>
impl<'a> Unpin for InternAtom<'a>
impl<'a> UnwindSafe for InternAtom<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more