Class virtual Sfml.abstractWindow


class virtual abstractWindow : unit -> object .. end
An abstract class for windows : all windows inherit of this class

val point : pointer
method close : unit
Close the window, without destroying it
method isOpened : bool
Check if a window is opened
method getWidth : int
Return the dimension of the window
method getHeight : int
method getEvent : event
Get the higher event in the stack
method useVerticalSync : bool -> unit
Use (or not) vertical synchronisation
method showMouseCursor : bool -> unit
Show/hide mouse cursor
method setCursorPosition : int -> int -> unit
Move mouse cursor
method setPosition : int -> int -> unit
Move the window
method show : bool -> unit
Show the window
method enableKeyRepeat : bool -> unit
Enable/disable key repetition
method setActive : bool -> unit
Set Active
method display : unit
Refresh the window
method getInput : input
Returns the input object associated with the window
method setFramerateLimit : int -> unit
Sets a framerate limit
method getFrameTime : int
Return the time elapsed since the last frame
method setJoystickThreshold : float -> unit
Set the joystick threshold