package sfml

  1. Overview
  2. Docs
Bindings to the SFML multimedia library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.09.tar.gz
sha256=75e28f425d6c40f39f7aac53b413da3d48ecd50aa88cdf644d38a14897a59a30
md5=01ffc5b471d774f2d6234c639b067f04

doc/sfml.window_oo/Oo_sfml_window/class-window/index.html

Class Oo_sfml_window.window

val this : SFWindow.t
method close : unit -> unit
method display : unit -> unit
method get_mouse_position : unit -> int * int
method height : int
method is_open : bool
method poll_event : unit -> SFEvent.t option
method position : int * int
method set_active : active:bool -> bool
method set_framerate_limit : limit:int -> unit
method set_joystick_threshold : threshold:float -> unit
method set_key_repeat_enabled : enabled:bool -> unit
method set_mouse_cursor_visible : visible:bool -> unit
method set_mouse_position : (int * int) -> unit
method set_position : pos:(int * int) -> unit
method set_position2 : left:int -> top:int -> unit
method set_size : size:(int * int) -> unit
method set_size2 : width:int -> height:int -> unit
method set_title : title:string -> unit
method set_vertical_sync_enabled : enabled:bool -> unit
method set_visible : visible:bool -> unit
method size : int * int
method wait_event : unit -> SFEvent.t
method width : int
OCaml

Innovation. Community. Security.