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