Function
GdkEventnew
since: 2.2
Declaration [src]
GdkEvent*
gdk_event_new (
GdkEventType type
)
Description [src]
Creates a new event of the given type. All fields are set to 0.
Available since: 2.2
Parameters
type-
Type:
GdkEventTypeA
GdkEventType.
Return value
Type: GdkEvent
A newly-allocated GdkEvent. The returned GdkEvent
should be freed with gdk_event_free().
| The caller of the function takes ownership of the data, and is responsible for freeing it. |