[−][src]Struct leftwm::Window
Fields
handle: WindowHandle
transient: Option<WindowHandle>
never_focus: bool
debugging: bool
name: Option<String>
type_: WindowType
border: i32
margin: i32
normal: XYHW
start_loc: Option<XYHW>
strut: Option<XYHW>
Implementations
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_visible(&mut self, value: bool)
[src]
pub fn visible(&self) -> bool
[src]
pub fn set_floating(&mut self, value: bool)
[src]
pub fn floating(&self) -> bool
[src]
pub fn get_floating_offsets(&self) -> Option<XYHW>
[src]
pub fn reset_float_offset(&mut self)
[src]
pub fn set_floating_offsets(&mut self, value: Option<XYHW>)
[src]
pub fn set_floating_exact(&mut self, value: XYHW)
[src]
pub fn is_fullscreen(&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 set_states(&mut self, states: Vec<WindowState>)
[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 border(&self) -> i32
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn calculated_xyhw(&self) -> XYHW
[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]
impl Debug for Window
[src]
impl<'de> Deserialize<'de> for Window
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Window
[src]
Auto Trait Implementations
impl RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnwindSafe for Window
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
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> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,