[−][src]Struct penrose::core::client::Client
Meta-data around a client window that we are handling.
Primarily state flags and information used when determining which clients to show for a given monitor and how they are tiled.
Implementations
impl Client
[src]
pub fn new(
id: WinId,
wm_name: String,
wm_class: String,
workspace: usize,
floating: bool
) -> Client
[src]
id: WinId,
wm_name: String,
wm_class: String,
workspace: usize,
floating: bool
) -> Client
Track a new client window on a specific workspace
pub fn id(&self) -> WinId
[src]
The X window ID of this client
pub fn wm_class(&self) -> &str
[src]
The WM_CLASS property of this client
pub fn wm_name(&self) -> &str
[src]
The WM_NAME property of this client
pub fn workspace(&self) -> usize
[src]
The current workspace index that this client is showing on
pub fn set_workspace(&mut self, workspace: usize)
[src]
Mark this window as being on a new workspace
pub fn class(&self) -> &str
[src]
The WM_CLASS of the window that this Client is tracking
pub fn externally_managed(&mut self)
[src]
Mark this client as not being managed by the WindowManager directly
pub fn internally_managed(&mut self)
[src]
Mark this client as being managed by the WindowManager directly
Trait Implementations
impl Clone for Client
[src]
impl Debug for Client
[src]
impl PartialEq<Client> for Client
[src]
impl StructuralPartialEq for Client
[src]
Auto Trait Implementations
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,