ActionGroup.addAction

Warning gtk_action_group_add_action is deprecated and should not be used in newly-written code. 3.10 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). Since 2.4

class ActionGroup
void
addAction

Parameters

action Action

an action

Meta