8.12
|
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], | ~style: style :: MaybeObs.of(List.of(Window.StyleSymbol)) = [], | ~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.
Satisfied by the following symbols:
#'no_resize_border
#'no_caption
#'no_system_menu
#'hide_menu_bar
#'toolbar_button
#'float
#'metal
#'fullscreen_button
#'fullscreen_aux