Function

Gtkbindings_activate_event

since: 2.4

Declaration [src]

gboolean
gtk_bindings_activate_event (
  GObject* object,
  GdkEventKey* event
)

Description [src]

Looks up key bindings for object to find one matching event, and if one was found, activate it.

Available since: 2.4

Parameters

object

Type: GObject

A GObject (generally must be a widget).

The data is owned by the caller of the function.
event

Type: GdkEventKey

A GdkEventKey.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if a matching key binding was found.