Method

GtkActionconnect_accelerator

deprecated: 3.10 since: 2.4

Declaration [src]

void
gtk_action_connect_accelerator (
  GtkAction* action
)

Description [src]

Installs the accelerator for action if action has an accel path and group. See gtk_action_set_accel_path() and gtk_action_set_accel_group()

Since multiple proxies may independently trigger the installation of the accelerator, the action counts the number of times this function has been called and doesn’t remove the accelerator until gtk_action_disconnect_accelerator() has been called as many times.

Available since: 2.4

Deprecated since: 3.10

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