should be freed with [gdk.event.Event.free].
Event.this
this
(gdk.types.EventType type)Creates a new event of the given type. All fields are set to 0.
Parameters
type | a #GdkEventType |
Returns
a newly-allocated #GdkEvent. The returned #GdkEvent