![]() |
![]() |
Public Member Functions | |
virtual | ~ActionGroup () |
GtkActionGroup* | gobj () |
Provides access to the underlying C GObject. | |
const GtkActionGroup* | gobj () const |
Provides access to the underlying C GObject. | |
GtkActionGroup* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Glib::ustring | get_name () const |
Gets the name of the action group. | |
Glib::RefPtr<Action> | get_action (const Glib::ustring& action_name) |
Looks up an action in the action group by name. | |
Glib::RefPtr<const Action> | get_action (const Glib::ustring& action_name) const |
Looks up an action in the action group by name. | |
Glib::ListHandle< Glib::RefPtr< Action > > | get_actions () |
Lists the actions in the action group. | |
Glib::ListHandle< Glib::RefPtr< const Action > > | get_actions () const |
Lists the actions in the action group. | |
void | add (const Glib::RefPtr<Action>& action) |
void | add (const Glib::RefPtr<Action>& action, const AccelKey& accel_key) |
void | add (const Glib::RefPtr<Action>& action, const Action::SlotActivate& slot) |
void | add (const Glib::RefPtr<Action>& action, const AccelKey& accel_key, const Action::SlotActivate& slot) |
void | remove (const Glib::RefPtr<Action>& action) |
Removes an action object from the action group. | |
Static Public Member Functions | |
Glib::RefPtr<ActionGroup> | create (const Glib::ustring& name=Glib::ustring()) |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr<Gtk::ActionGroup> | wrap (GtkActionGroup* object, bool take_copy=false) |
|
|
|
|
|
|
|
|
|
|
|
|
|
Looks up an action in the action group by name.
|
|
Looks up an action in the action group by name.
|
|
Lists the actions in the action group.
|
|
Lists the actions in the action group.
|
|
Gets the name of the action group.
|
|
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase. |
|
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase. |
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
Removes an action object from the action group. Since: 2.4
|
|
|