Method

GtkAccelGroupfind

Declaration [src]

GtkAccelKey*
gtk_accel_group_find (
  GtkAccelGroup* accel_group,
  GtkAccelGroupFindFunc find_func,
  gpointer data
)

Description [src]

Finds the first entry in an accelerator group for which find_func returns TRUE and returns its GtkAccelKey.

Parameters

find_func

Type: GtkAccelGroupFindFunc

A function to filter the entries of accel_group with.

data

Type: gpointer

Data to pass to find_func.

The argument can be NULL.
The data is owned by the caller of the method.

Return value

Type: GtkAccelKey

The key of the first entry passing find_func. The key is owned by GTK+ and must not be freed.

The returned data is owned by the instance.