package stk

  1. Overview
  2. Docs

Windows.

type Events.ev +=
  1. | Close : (unit -> bool) Events.ev
class window : ?class_:string option -> ?name:string option -> ?props:Props.t 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

OCaml

Innovation. Community. Security.