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

Type: GdkEvent

A GdkEvent.

The data is owned by the caller of the function.

Return value

Type: GtkWidget

The widget that originally received event, or NULL.

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