Struct leanshot_xlib::Atom [−][src]
pub struct Atom { /* fields omitted */ }
A unique string or intger
Methods
impl Atom
[src]
impl Atom
pub fn new(
display: &Display,
val: impl AsRef<str>,
only_if_exists: bool
) -> Result<Self, X11Error>
[src]
pub fn new(
display: &Display,
val: impl AsRef<str>,
only_if_exists: bool
) -> Result<Self, X11Error>
Create a new atom using a string
pub fn from(handle: Atom) -> Self
[src]
pub fn from(handle: Atom) -> Self
Create a new Atom object from an existing handle
pub fn as_raw(&self) -> Atom
[src]
pub fn as_raw(&self) -> Atom
Get the handle