#[repr(C)]pub struct LinuxWindowOptions {Show 13 fields
pub wayland_theme: OptionWaylandTheme,
pub window_icon: OptionWindowIcon,
pub x11_gtk_theme_variant: OptionString,
pub wayland_app_id: OptionString,
pub x11_wm_classes: StringPairVec,
pub x11_window_types: XWindowTypeVec,
pub x11_visual: OptionX11Visual,
pub x11_resize_increments: OptionLogicalSize,
pub x11_base_size: OptionLogicalSize,
pub x11_screen: OptionI32,
pub request_user_attention: UserAttentionType,
pub x11_decorations_state: OptionLinuxDecorationsState,
pub x11_override_redirect: bool,
}Fields§
§wayland_theme: OptionWaylandTheme§window_icon: OptionWindowIcon§x11_gtk_theme_variant: OptionStringBuild window with _GTK_THEME_VARIANT hint set to the specified value. Currently only
relevant on X11. Can only be set at window creation, can’t be changed in callbacks.
wayland_app_id: OptionStringBuild window with a given application ID. It should match the .desktop file distributed
with your program. Only relevant on Wayland.
Can only be set at window creation, can’t be changed in callbacks.
For details about application ID conventions, see the Desktop Entry Spec
x11_wm_classes: StringPairVecBuild window with WM_CLASS hint; defaults to the name of the binary. Only relevant on
X11. Can only be set at window creation, can’t be changed in callbacks.
x11_window_types: XWindowTypeVecBuild window with _NET_WM_WINDOW_TYPE hint; defaults to Normal. Only relevant on X11.
Can only be set at window creation, can’t be changed in callbacks.
x11_visual: OptionX11Visual(Unimplemented) - Can only be set at window creation, can’t be changed in callbacks.
x11_resize_increments: OptionLogicalSizeBuild window with resize increment hint. Only implemented on X11. Can only be set at window creation, can’t be changed in callbacks.
x11_base_size: OptionLogicalSizeBuild window with base size hint. Only implemented on X11. Can only be set at window creation, can’t be changed in callbacks.
x11_screen: OptionI32(Unimplemented) - Can only be set at window creation, can’t be changed in callbacks.
request_user_attention: UserAttentionType§x11_decorations_state: OptionLinuxDecorationsStateX11-specific: Client-side decoration state (drag position, button hover, etc.)
x11_override_redirect: boolBuild window with override-redirect flag; defaults to false. Only relevant on X11. Can only be set at window creation, can’t be changed in callbacks.
Trait Implementations§
Source§impl Clone for LinuxWindowOptions
impl Clone for LinuxWindowOptions
Source§fn clone(&self) -> LinuxWindowOptions
fn clone(&self) -> LinuxWindowOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LinuxWindowOptions
impl Debug for LinuxWindowOptions
Source§impl Default for LinuxWindowOptions
impl Default for LinuxWindowOptions
Source§fn default() -> LinuxWindowOptions
fn default() -> LinuxWindowOptions
Source§impl PartialEq for LinuxWindowOptions
impl PartialEq for LinuxWindowOptions
Source§fn eq(&self, other: &LinuxWindowOptions) -> bool
fn eq(&self, other: &LinuxWindowOptions) -> bool
self and other values to be equal, and is used by ==.