SFML.Net
Window Methods |
The Window type exposes the following members.

Name | Description | |
---|---|---|
![]() |
Close |
Close (destroy) the window.
The Window instance remains valid and you can call
Create to recreate the window
|
![]() |
Destroy |
Handle the destruction of the object
(Overrides ObjectBaseDestroy(Boolean).) |
![]() |
DispatchEvents |
Call the event handlers for each pending event
|
![]() |
Display |
Display the window on screen
|
![]() |
Dispose |
Explicitely dispose the object
(Inherited from ObjectBase.) |
![]() |
Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) |
![]() |
Finalize |
Dispose the object
(Inherited from ObjectBase.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
HasFocus |
Check whether the window has the input focus
|
![]() |
InternalGetMousePosition |
Internal function to get the mouse position relative to the window.
This function is protected because it is called by another class of
another module, it is not meant to be called by users.
|
![]() |
InternalGetTouchPosition |
Internal function to get the touch position relative to the window.
This function is protected because it is called by another class of
another module, it is not meant to be called by users.
|
![]() |
InternalSetMousePosition |
Internal function to set the mouse position relative to the window.
This function is protected because it is called by another class of
another module, it is not meant to be called by users.
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
PollEvent |
Internal function to get the next event (non-blocking)
|
![]() |
RequestFocus |
Request the current window to be made the active
foreground window
|
![]() |
SetActive |
Activate the window as the current target
for rendering
|
![]() |
SetActive(Boolean) |
Activate of deactivate the window as the current target
for rendering
|
![]() |
SetFramerateLimit |
Limit the framerate to a maximum fixed frequency
|
![]() |
SetIcon |
Change the window's icon
|
![]() |
SetJoystickThreshold |
Change the joystick threshold, ie. the value below which
no move event will be generated
|
![]() |
SetKeyRepeatEnabled |
Enable or disable automatic key-repeat.
Automatic key-repeat is enabled by default
|
![]() |
SetMouseCursorVisible |
Show or hide the mouse cursor
|
![]() |
SetTitle |
Change the title of the window
|
![]() |
SetVerticalSyncEnabled |
Enable / disable vertical synchronization
|
![]() |
SetVisible |
Show or hide the window
|
![]() |
ToString |
Provide a string describing the object
(Overrides ObjectToString.) |
![]() |
WaitAndDispatchEvents |
Wait for a new event and dispatch it to the corresponding
event handler
|
![]() |
WaitEvent |
Internal function to get the next event (blocking)
|
