Sets our main struct and passes it to the parent class.
Returns the relative angle from @event1 to @event2.
Returns the point halfway between the events' positions.
Returns the distance between the event locations.
Extracts all axis values from an event.
Extract the axis value for a particular axis use from an event structure.
Returns the device of an event.
Returns a GdkDeviceTool representing the tool that caused the event.
Retrieves the display associated to the @event.
Retuns the event sequence to which the event belongs.
Get the main Gtk struct
Retrieves the type of the event.
Retrieves the history of the device that @event is for, as a list of time and coordinates.
Returns the modifier state field of an event.
Returns whether this event is an 'emulated' pointer event.
Extract the event surface relative x/y coordinates from an event.
Returns the seat that originated the event.
the main Gtk struct as a void*
Extracts the surface associated with an event.
Returns the timestamp of @event.
Increase the ref count of @event.
Returns whether a GdkEvent should trigger a context menu, according to platform conventions.
Decrease the ref count of @event.
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.