[−][src]Trait glutin::platform::unix::WindowBuilderExtUnix
Additional methods on WindowBuilder that are specific to Unix.
Required methods
fn with_x11_visual<T>(self, visual_infos: *const T) -> Self
fn with_x11_screen(self, screen_id: i32) -> Self
fn with_class(self, class: String, instance: String) -> Self
Build window with WM_CLASS hint; defaults to the name of the binary. Only relevant on X11.
fn with_override_redirect(self, override_redirect: bool) -> Self
Build window with override-redirect flag; defaults to false. Only relevant on X11.
fn with_x11_window_type(self, x11_window_type: Vec<WindowType>) -> Self
Build window with _NET_WM_WINDOW_TYPE hints; defaults to Normal. Only relevant on X11.
fn with_gtk_theme_variant(self, variant: String) -> Self
Build window with _GTK_THEME_VARIANT hint set to the specified value. Currently only relevant on X11.
fn with_resize_increments<S>(self, increments: S) -> Self where
S: Into<Size>,
S: Into<Size>,
Build window with resize increment hint. Only implemented on X11.
fn with_base_size<S>(self, base_size: S) -> Self where
S: Into<Size>,
S: Into<Size>,
Build window with base size hint. Only implemented on X11.
fn with_app_id(self, app_id: String) -> Self
Build window with a given application ID. It should match the .desktop file distributed with
your program. Only relevant on Wayland.
For details about application ID conventions, see the Desktop Entry Spec
Implementors
impl WindowBuilderExtUnix for WindowBuilder[src]
fn with_x11_visual<T>(self, visual_infos: *const T) -> WindowBuilder[src]
fn with_x11_screen(self, screen_id: i32) -> WindowBuilder[src]
fn with_class(self, instance: String, class: String) -> WindowBuilder[src]
fn with_override_redirect(self, override_redirect: bool) -> WindowBuilder[src]
fn with_x11_window_type(
self,
x11_window_types: Vec<WindowType>
) -> WindowBuilder[src]
self,
x11_window_types: Vec<WindowType>
) -> WindowBuilder
fn with_gtk_theme_variant(self, variant: String) -> WindowBuilder[src]
fn with_resize_increments<S>(self, increments: S) -> WindowBuilder where
S: Into<Size>, [src]
S: Into<Size>,
fn with_base_size<S>(self, base_size: S) -> WindowBuilder where
S: Into<Size>, [src]
S: Into<Size>,