[][src]Struct leftwm::Window

pub struct Window {
    pub handle: WindowHandle,
    pub transient: Option<WindowHandle>,
    pub never_focus: bool,
    pub name: Option<String>,
    pub type_: WindowType,
    pub tags: Vec<String>,
    pub border: i32,
    pub margin: i32,
    pub fullscreen: bool,
    pub normal: XYHW,
    pub floating: Option<XYHW>,
    pub start_loc: Option<(i32, i32)>,
    // some fields omitted
}

Fields

handle: WindowHandletransient: Option<WindowHandle>never_focus: boolname: Option<String>type_: WindowTypetags: Vec<String>border: i32margin: i32fullscreen: boolnormal: XYHWfloating: Option<XYHW>start_loc: Option<(i32, i32)>

Methods

impl Window[src]

pub fn new(h: WindowHandle, name: Option<String>) -> Window[src]

pub fn update_for_theme(&mut self, theme: &ThemeSetting)[src]

pub fn set_visable(&mut self, value: bool)[src]

pub fn visable(&self) -> bool[src]

pub fn set_floating(&mut self, value: bool)[src]

pub fn floating(&self) -> bool[src]

pub fn must_float(&self) -> bool[src]

pub fn can_move(&self) -> bool[src]

pub fn can_resize(&self) -> bool[src]

pub fn set_width(&mut self, width: i32)[src]

pub fn set_height(&mut self, height: i32)[src]

pub fn width(&self) -> i32[src]

pub fn height(&self) -> i32[src]

pub fn set_x(&mut self, x: i32)[src]

pub fn set_y(&mut self, y: i32)[src]

pub fn x(&self) -> i32[src]

pub fn y(&self) -> i32[src]

pub fn tag(&mut self, tag: String)[src]

pub fn clear_tags(&mut self)[src]

pub fn has_tag(&self, tag: String) -> bool[src]

pub fn untag(&mut self, tag: String)[src]

Trait Implementations

impl Clone for Window[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Window[src]

impl Serialize for Window[src]

impl<'de> Deserialize<'de> for Window[src]

Auto Trait Implementations

impl Send for Window

impl Sync for Window

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T