Event.copy

Copies a #GdkEvent, copying or incrementing the reference count of the resources associated with it (e.g. #GdkWindow’s and strings).

class Event
copy
()

Return Value

Type: Event

a copy of @event. The returned #GdkEvent should be freed with gdk_event_free().

Meta