Method

GtkActionset_accel_group

Declaration [src]

void
gtk_action_set_accel_group (
  GtkAction* action,
  GtkAccelGroup* accel_group
)

Description [src]

Sets the GtkAccelGroup in which the accelerator for this action will be installed.

Available since:2.4
Deprecated since:3.10

Use GAction and the accelerator group on an associated GtkMenu instead.

Parameters

accel_group

Type: GtkAccelGroup

A GtkAccelGroup or NULL.

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