[][src]Struct azul_core::window::LinuxWindowOptions

pub struct LinuxWindowOptions {
    pub x11_visual: Option<*const ()>,
    pub x11_screen: Option<i32>,
    pub x11_wm_classes: Vec<(String, String)>,
    pub x11_override_redirect: bool,
    pub x11_window_types: Vec<XWindowType>,
    pub x11_gtk_theme_variant: Option<String>,
    pub x11_resize_increments: Option<LogicalSize>,
    pub x11_base_size: Option<LogicalSize>,
    pub wayland_app_id: Option<String>,
    pub request_user_attention: bool,
    pub wayland_theme: Option<WaylandTheme>,
    pub window_icon: Option<WindowIcon>,
}

Fields

x11_visual: Option<*const ()>

(Unimplemented) - Can only be set at window creation, can't be changed in callbacks.

x11_screen: Option<i32>

(Unimplemented) - Can only be set at window creation, can't be changed in callbacks.

x11_wm_classes: Vec<(String, String)>

Build 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_override_redirect: bool

Build 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.

x11_window_types: Vec<XWindowType>

Build 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_gtk_theme_variant: Option<String>

Build 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.

x11_resize_increments: Option<LogicalSize>

Build 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: Option<LogicalSize>

Build window with base size hint. Only implemented on X11. Can only be set at window creation, can't be changed in callbacks.

wayland_app_id: Option<String>

Build 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

request_user_attention: boolwayland_theme: Option<WaylandTheme>window_icon: Option<WindowIcon>

Trait Implementations

impl Clone for LinuxWindowOptions[src]

impl Debug for LinuxWindowOptions[src]

impl Default for LinuxWindowOptions[src]

impl PartialEq<LinuxWindowOptions> for LinuxWindowOptions[src]

impl PartialOrd<LinuxWindowOptions> for LinuxWindowOptions[src]

impl StructuralPartialEq for LinuxWindowOptions[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.