Method
GdkEventcopy
Declaration [src]
GdkEvent*
gdk_event_copy (
const GdkEvent* event
)
Description [src]
Copies a GdkEvent
, copying or incrementing the reference count of the
resources associated with it (e.g. GdkWindow
’s and strings).
Return value
Type: GdkEvent
A copy of event
. The returned GdkEvent
should be freed with gdk_event_free().
The caller of the method takes ownership of the returned data, and is responsible for freeing it. |