Trait pilka_winit::winit::platform::macos::WindowBuilderExtMacOS[][src]

pub trait WindowBuilderExtMacOS {
    pub fn with_activation_policy(
        self,
        activation_policy: ActivationPolicy
    ) -> WindowBuilder;
pub fn with_movable_by_window_background(
        self,
        movable_by_window_background: bool
    ) -> WindowBuilder;
pub fn with_titlebar_transparent(
        self,
        titlebar_transparent: bool
    ) -> WindowBuilder;
pub fn with_title_hidden(self, title_hidden: bool) -> WindowBuilder;
pub fn with_titlebar_hidden(self, titlebar_hidden: bool) -> WindowBuilder;
pub fn with_titlebar_buttons_hidden(
        self,
        titlebar_buttons_hidden: bool
    ) -> WindowBuilder;
pub fn with_fullsize_content_view(
        self,
        fullsize_content_view: bool
    ) -> WindowBuilder;
pub fn with_resize_increments(
        self,
        increments: LogicalSize<f64>
    ) -> WindowBuilder;
pub fn with_disallow_hidpi(self, disallow_hidpi: bool) -> WindowBuilder;
pub fn with_has_shadow(self, has_shadow: bool) -> WindowBuilder; }

Additional methods on WindowBuilder that are specific to MacOS.

Note: Properties dealing with the titlebar will be overwritten by the with_decorations method on the base WindowBuilder:

  • with_titlebar_transparent
  • with_title_hidden
  • with_titlebar_hidden
  • with_titlebar_buttons_hidden
  • with_fullsize_content_view

Required methods

pub fn with_activation_policy(
    self,
    activation_policy: ActivationPolicy
) -> WindowBuilder
[src]

Sets the activation policy for the window being built.

pub fn with_movable_by_window_background(
    self,
    movable_by_window_background: bool
) -> WindowBuilder
[src]

Enables click-and-drag behavior for the entire window, not just the titlebar.

pub fn with_titlebar_transparent(
    self,
    titlebar_transparent: bool
) -> WindowBuilder
[src]

Makes the titlebar transparent and allows the content to appear behind it.

pub fn with_title_hidden(self, title_hidden: bool) -> WindowBuilder[src]

Hides the window title.

pub fn with_titlebar_hidden(self, titlebar_hidden: bool) -> WindowBuilder[src]

Hides the window titlebar.

pub fn with_titlebar_buttons_hidden(
    self,
    titlebar_buttons_hidden: bool
) -> WindowBuilder
[src]

Hides the window titlebar buttons.

pub fn with_fullsize_content_view(
    self,
    fullsize_content_view: bool
) -> WindowBuilder
[src]

Makes the window content appear behind the titlebar.

pub fn with_resize_increments(
    self,
    increments: LogicalSize<f64>
) -> WindowBuilder
[src]

Build window with resizeIncrements property. Values must not be 0.

pub fn with_disallow_hidpi(self, disallow_hidpi: bool) -> WindowBuilder[src]

pub fn with_has_shadow(self, has_shadow: bool) -> WindowBuilder[src]

Loading content...

Implementors

impl WindowBuilderExtMacOS for WindowBuilder[src]

Loading content...