Creates a new event of the given type. All fields are set to 0.
gdkEventNew(type)
type
a GdkEventType
GdkEventType
Since 2.2
[GdkEvent] a newly-allocated GdkEvent.
GdkEvent
Derived by RGtkGen from GTK+ documentation