[−][src]Struct penrose::xconnection::XcbConnection
Handles communication with an X server via xcb
Implementations
impl XcbConnection
[src]
pub fn new() -> XcbConnection
[src]
Establish a new connection to the running X server. Fails if unable to connect
Trait Implementations
impl XConn for XcbConnection
[src]
fn flush(&self) -> bool
[src]
fn wait_for_event(&self) -> Option<XEvent>
[src]
fn current_outputs(&self) -> Vec<Screen>
[src]
fn position_window(&self, id: WinId, r: Region, border: u32)
[src]
fn mark_new_window(&self, id: WinId)
[src]
fn map_window(&self, id: WinId)
[src]
fn unmap_window(&self, id: WinId)
[src]
fn send_client_event(&self, id: WinId, atom_name: &str)
[src]
fn focus_client(&self, id: WinId)
[src]
fn set_client_border_color(&self, id: WinId, color: u32)
[src]
fn grab_keys(&self, key_bindings: &KeyBindings)
[src]
fn intern_atom(&self, name: &str) -> u32
[src]
fn str_prop(&self, id: u32, name: &str) -> Result<String, String>
[src]
fn atom_prop(&self, id: u32, name: &str) -> Result<u32, String>
[src]
Auto Trait Implementations
impl RefUnwindSafe for XcbConnection
impl !Send for XcbConnection
impl !Sync for XcbConnection
impl Unpin for XcbConnection
impl UnwindSafe for XcbConnection
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,