Event Structure

SFML.Net

Event Structure
Event defines a system event and its parameters

Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public struct Event
Public Structure Event
public value class Event
[<SealedAttribute>]
type Event =  struct end

The Event type exposes the following members.

Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields
  NameDescription
Public fieldJoystickButton
Arguments for joystick button events (JoystickButtonPressed, JoystickButtonReleased)
Public fieldJoystickConnect
Arguments for joystick connect events (JoystickConnected, JoystickDisconnected)
Public fieldJoystickMove
Arguments for joystick axis events (JoystickMoved)
Public fieldKey
Arguments for key events (KeyPressed, KeyReleased)
Public fieldMouseButton
Arguments for mouse button events (MouseButtonPressed, MouseButtonReleased)
Public fieldMouseMove
Arguments for mouse move events (MouseMoved)
Public fieldMouseWheel
Arguments for mouse wheel events (MouseWheelMoved)
Public fieldSensor
Arguments for sensor events (SensorChanged)
Public fieldSize
Arguments for size events (Resized)
Public fieldText
Arguments for text events (TextEntered)
Public fieldTouch
Arguments for touch events (TouchBegan, TouchMoved, TouchEnded)
Public fieldType
Type of event (see EventType enum)
Top
See Also