![]() |
Public Member Functions | |
| void | add (const Glib::RefPtr<Action>& action, const AccelKey& accel_key, const Action::SlotActivate& slot) |
| void | add (const Glib::RefPtr<Action>& action, const Action::SlotActivate& slot) |
| void | add (const Glib::RefPtr<Action>& action, const AccelKey& accel_key) |
| void | add (const Glib::RefPtr<Action>& action) |
| Glib::RefPtr<const Action> | get_action (const Glib::ustring& action_name) const |
| Looks up an action in the action group by name. | |
| Glib::RefPtr<Action> | get_action (const Glib::ustring& action_name) |
| Looks up an action in the action group by name. | |
| Glib::ListHandle< Glib::RefPtr< const Action > > | get_actions () const |
| Lists the actions in the action group. | |
| Glib::ListHandle< Glib::RefPtr< Action > > | get_actions () |
| Lists the actions in the action group. | |
| Glib::ustring | get_name () const |
| Gets the name of the action group. | |
| bool | get_sensitive () const |
Returns true if the group is sensitive. | |
| bool | get_visible () const |
Returns true if the group is visible. | |
| const GtkActionGroup* | gobj () const |
| Provides access to the underlying C GObject. | |
| GtkActionGroup* | gobj () |
| 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. | |
| void | remove (const Glib::RefPtr<Action>& action) |
| Removes an action object from the action group. | |
| void | set_sensitive (bool sensitive=true) |
| Changes the sensitivity of action_group. | |
| void | set_visible (bool visible=true) |
| Changes the visible of action_group . | |
| Glib::SignalProxy2< void, const Glib::RefPtr<Action>&, Widget* > | signal_connect_proxy () |
| The connect_proxy signal is emitted after connecting a proxy to an action in the group. | |
| Glib::SignalProxy2< void, const Glib::RefPtr<Action>&, Widget* > | signal_disconnect_proxy () |
| The disconnect_proxy signal is emitted after disconnecting a proxy from an action in the group. | |
| Glib::SignalProxy1< void, const Glib::RefPtr<Action >&> | signal_post_activate () |
| The post_activate signal is emitted just after the in the is activated. | |
| Glib::SignalProxy1< void, const Glib::RefPtr<Action >&> | signal_pre_activate () |
| The pre_activate signal is emitted just before the in the action_group is activated. | |
| Glib::ustring | translate_string (const Glib::ustring& str) const |
| Translates a string using the specified translate_func(). | |
| virtual | ~ActionGroup () |
Static Public Member Functions | |
| static Glib::RefPtr<ActionGroup> | create (const Glib::ustring& name=Glib::ustring()) |
Protected Member Functions | |
| ActionGroup (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.
|
|
|
Returns The constituent actions can only be logically sensitive (see is_sensitive()) if they are sensitive (see get_sensitive()) and their group is sensitive.
|
|
|
Returns The constituent actions can only be logically visible (see is_visible()) if they are visible (see get_visible()) and their group is visible.
|
|
|
Provides access to the underlying C GObject.
|
|
|
Provides access to the underlying C GObject.
|
|
|
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
|
|
|
Changes the sensitivity of action_group. Since: 2.4
|
|
|
Changes the visible of action_group . Since: 2.4
|
|
|
The connect_proxy signal is emitted after connecting a proxy to an action in the group. Note that the proxy may have been connected to a different action before. This is intended for simple customizations for which a custom action class would be too clumsy, e.g. showing tooltips for menuitems in the statusbar. UIManager proxies the signal and provides global notification just before any action is connected to a proxy, which is probably more convenient to use.
|
|
|
The disconnect_proxy signal is emitted after disconnecting a proxy from an action in the group. UIManager proxies the signal and provides global notification just before any action is connected to a proxy, which is probably more convenient to use.
|
|
|
The post_activate signal is emitted just after the in the is activated. This is intended for UIManager to proxy the signal and provide global notification just after any action is activated.
|
|
|
The pre_activate signal is emitted just before the in the action_group is activated. This is intended for UIManager to proxy the signal and provide global notification just before any action is activated. the action |
|
|
Translates a string using the specified translate_func(). This is mainly intended for language bindings.
|
|
||||||||||||
|
|