Event
Object Hierarchy:
Description:
[ CCode ( copy_function = "gdk_event_copy" , type_id = "gdk_event_get_type ()" ) ]
[ Compact ]
public class Event
Represents windowing system events.
In GTK applications the events are handled automatically by toplevel widgets and passed on to the event controllers of appropriate
widgets, so using `GdkEvent` and its related API is rarely needed.
`GdkEvent` structs are immutable.
Content:
Static methods:
- public static unowned Event @get ()
Checks all open displays for a Event to
process,to be processed on, fetching events from the windowing system if necessary.
- public static void handler_set (owned EventFunc func)
Sets the function to call to handle all events from GDK.
- public static unowned Event peek ()
If there is an event waiting in the event queue of some open display,
returns a copy of it.
- public static void request_motions (EventMotion event)
Request more motion notifies if event is a motion notify
hint event.
- public static bool send_client_message_for_display (Display display, Event event, NativeWindow winid)
Creation methods:
Methods:
Fields: