pub trait WindowPropertiesExt: 'static {
    fn is_fullscreen(&self) -> bool;
    fn geometry(&self) -> Rectangle;
    fn is_locationbar_visible(&self) -> bool;
    fn is_menubar_visible(&self) -> bool;
    fn is_resizable(&self) -> bool;
    fn is_scrollbars_visible(&self) -> bool;
    fn is_statusbar_visible(&self) -> bool;
    fn is_toolbar_visible(&self) -> bool;
}
Expand description

Trait containing all WindowProperties methods.

Implementors

WindowProperties

Required Methods

Get whether the window should be shown in fullscreen state or not.

Returns

true if the window should be fullscreen or false otherwise.

Get the geometry the window should have on the screen when shown.

Returns
geometry

return location for the window geometry

Get whether the window should have the locationbar visible or not.

Returns

true if locationbar should be visible or false otherwise.

Get whether the window should have the menubar visible or not.

Returns

true if menubar should be visible or false otherwise.

Get whether the window should be resizable by the user or not.

Returns

true if the window should be resizable or false otherwise.

Get whether the window should have the scrollbars visible or not.

Returns

true if scrollbars should be visible or false otherwise.

Get whether the window should have the statusbar visible or not.

Returns

true if statusbar should be visible or false otherwise.

Get whether the window should have the toolbar visible or not.

Returns

true if toolbar should be visible or false otherwise.

Implementors