Class: Gio::SimpleActionGroup
- Inherits:
-
Object
- Object
- Gio::SimpleActionGroup
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#add_entries(entries, n_entries, user_data) ⇒ nil
A convenience function for creating multiple GSimple::Action instances and adding them to the action group.
-
#initialize ⇒ Gio::SimpleActionGroup
constructor
Creates a new, empty, GSimple::ActionGroup.
-
#insert(action) ⇒ nil
Adds an action to the action group.
-
#lookup(action_name) ⇒ Gio::Action
Looks up the action with the name action_name in the group.
-
#remove(action_name) ⇒ nil
Removes the named action from the action group.
Constructor Details
#initialize ⇒ Gio::SimpleActionGroup
Creates a new, empty, GSimple::ActionGroup.
Instance Method Details
#add_entries(entries, n_entries, user_data) ⇒ nil
A convenience function for creating multiple GSimple::Action instances and adding them to the action group.
#insert(action) ⇒ nil
Adds an action to the action group.
If the action group already contains an action with the same name as action then the old action is dropped from the group.
The action group takes its own reference on action.
#lookup(action_name) ⇒ Gio::Action
Looks up the action with the name action_name in the group.
If no such action exists, returns nil.
#remove(action_name) ⇒ nil
Removes the named action from the action group.
If no action of this name is in the group then nothing happens.