gdk.event_any

Module for [EventAny] class

class EventAny

Types 1

Contains the fields which are common to all event structs. Any event pointer can safely be cast to a pointer to a #GdkEventAny to access these fields.

Fields
GdkEventAny _cInstance
Methods
void * _cPtr()
gdk.types.EventType type() @propertyGet `type` field. Returns: the type of the event.
void type(gdk.types.EventType propval) @propertySet `type` field. Params: propval = the type of the event.
gdk.window.Window window() @propertyGet `window` field. Returns: the window which received the event.
void window(gdk.window.Window propval) @propertySet `window` field. Params: propval = the window which received the event.
byte sendEvent() @propertyGet `sendEvent` field. Returns: true if the event was sent explicitly.
void sendEvent(byte propval) @propertySet `sendEvent` field. Params: propval = true if the event was sent explicitly.
Constructors
this(void * ptr, Flag!"Take" take)