Method

GtkAccelGroupquery

Declaration [src]

GtkAccelGroupEntry*
gtk_accel_group_query (
  GtkAccelGroup* accel_group,
  guint accel_key,
  GdkModifierType accel_mods,
  guint* n_entries
)

Description [src]

Queries an accelerator group for all entries matching accel_key and accel_mods.

Parameters

accel_key

Type: guint

Key value of the accelerator.

accel_mods

Type: GdkModifierType

Modifier combination of the accelerator.

n_entries

Type: guint*

Location to return the number of entries found, or NULL.

The argument will be set by the function.
The argument can be NULL.

Return value

Type: An array of GtkAccelGroupEntry

An array of n_entries GtkAccelGroupEntry elements, or NULL. The array is owned by GTK+ and must not be freed.

The length of the array is in the n_entries argument.
The returned data is owned by the instance.
The return value can be NULL.