Function

Gtkget_event_widget

Declaration [src]

GtkWidget*
gtk_get_event_widget (
  GdkEvent* event
)

Description [src]

If event is NULL or the event was not associated with any widget, returns NULL, otherwise returns the widget that received the event originally.

Parameters

event GdkEvent
 

A GdkEvent.

 The data is owned by the caller of the function.

Return value

Returns: GtkWidget
 

The widget that originally received event, or NULL.

 The data is owned by the called function.
 The return value can be NULL.