Event.copy

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

Returns

a copy of event. The returned #GdkEvent should be freed with

[gdk.event.Event.free].