Method

GtkActionGroupadd_action

deprecated: 3.10 since: 2.4

Declaration [src]

void
gtk_action_group_add_action (
  GtkActionGroup* action_group,
  GtkAction* action
)

Description [src]

Adds an action object to the action group. Note that this function does not set up the accel path of the action, which can lead to problems if a user tries to modify the accelerator of a menuitem associated with the action. Therefore you must either set the accel path yourself with gtk_action_set_accel_path(), or use gtk_action_group_add_action_with_accel (..., NULL).

Available since: 2.4

Deprecated since: 3.10

Please do not use it in newly written code.

Parameters

action

Type: GtkAction

An action.

The data is owned by the caller of the method.