On this page:
Window
Window.Style
Window.Style.no_  resize_  border
Window.Style.no_  caption
Window.Style.no_  system_  menu
Window.Style.hide_  menu_  bar
Window.Style.toolbar_  button
Window.Style.float
Window.Style.metal
Window.Style.fullscreen_  button
Window.Style.fullscreen_  aux
8.13.0.9

4 Windows🔗ℹ

class

class Window():

  implements WindowView

  constructor (

    ~title: title :: MaybeObs.of(String) = "Untitled",

    ~size: size :: MaybeObs.of(Size) = [#false, #false],

    ~alignment: alignment :: MaybeObs.of(Alignment) = [#'center, #'top],

    ~position: position :: MaybeObs.of(Position) = #'center,

    ~min_size: min_size :: MaybeObs.of(Size) = [#false, #false],

    ~stretch: stretch :: MaybeObs.of(Stretch) = [#true, #true],

    ~styles: styles :: MaybeObs.of(List.of(Window.Style)) = [],

    ~mixin: mix :: Function = values,

    child :: MaybeObs.of(View), ...

  )

Creates a top-level window view that can be instantiated with render. The child views supply the window content.

A window style option.