pub struct X11Properties;Expand description
Set of X11 specific attached properties that allow deeper customization of the application per platform.
Implementations§
Source§impl X11Properties
impl X11Properties
Source§impl X11Properties
impl X11Properties
Sourcepub fn net_wm_window_type_property() -> &'static AttachedProperty<X11NetWmWindowType>
pub fn net_wm_window_type_property() -> &'static AttachedProperty<X11NetWmWindowType>
Defines the NetWmWindowType attached property: the window type
hint of the window.
Sourcepub fn wm_class_property() -> &'static AttachedProperty<Option<String>>
pub fn wm_class_property() -> &'static AttachedProperty<Option<String>>
Defines the WmClass attached property: the window class of
the window.
Source§impl X11Properties
impl X11Properties
pub fn set_net_wm_window_type(obj: &Window, value: X11NetWmWindowType)
pub fn get_net_wm_window_type(obj: &Window) -> X11NetWmWindowType
pub fn set_wm_class(obj: &Window, value: Option<String>)
pub fn get_wm_class(obj: &Window) -> Option<String>
Trait Implementations§
Source§impl StaticType for X11Properties
impl StaticType for X11Properties
Auto Trait Implementations§
impl Freeze for X11Properties
impl RefUnwindSafe for X11Properties
impl Send for X11Properties
impl Sync for X11Properties
impl Unpin for X11Properties
impl UnsafeUnpin for X11Properties
impl UnwindSafe for X11Properties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more