Stk.WindowSourceWindows.
class window : ?classes:string list option -> ?name:string option -> ?props:Props.t option -> ?wdata:
Widget.wdata
option -> ?flags:Tsdl.Sdl.Window.flags option -> ?rflags:Tsdl.Sdl.Renderer.flags
option -> ?resizable:
bool
option -> ?x:int option -> ?y:int option -> ?w:int option -> ?h:int option ->
string -> object ... endA window is a Layers.layers widget, interfacing with SDL window to render and handle events. Windows should not be created directly but through App.create_window, App.create_scrolled_window and App.popup_menu so that events are propagated to them. Even though a window is a specialized Layers.layers widget, only the first layer should be used by application's code, through the #set_child and #remove_child methods of window. Additional layers are used internally for features like inpsecting.