[][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


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)>


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)

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

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>, 

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

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

impl<T> BorrowMut for T where
    T: ?Sized

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

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

impl<T> Erased for T