Class
GdkEvent
since: 4.0
Description [src]
abstract class Gdk.Event : GObject.TypeInstance
{
/* No available fields */
}
GdkEvents are immutable data structures, created by GDK to
represent 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.
Available since: 4.0
Instance methods
gdk_event_get_axis
Extract the axis value for a particular axis use from an event structure.
since: 4.0
gdk_event_get_device_tool
Returns a GdkDeviceTool representing the tool that
caused the event.
since: 4.0
gdk_event_get_history
Retrieves the history of the device that event is for, as a list of
time and coordinates.
since: 4.0
gdk_event_get_pointer_emulated
Returns whether this event is an ‘emulated’ pointer event.
since: 4.0
gdk_event_triggers_context_menu
Returns whether a GdkEvent should trigger a context menu,
according to platform conventions.
since: 4.0