Module Stk.WindowSource

Windows.

Sourcetype Events.ev +=
  1. | Close : (unit -> bool) Events.ev
Sourceclass 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 ... end

A window is a widget containing one widget and 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