![]() |
![]() |
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 () | |||
| ||||
Glib::SignalProxy2< void, const Glib::RefPtr<Action>&, Widget* > | signal_disconnect_proxy () | |||
| ||||
Glib::SignalProxy1< void, const Glib::RefPtr<Action >&> | signal_post_activate () | |||
| ||||
Glib::SignalProxy1< void, const Glib::RefPtr<Action >&> | signal_pre_activate () | |||
| ||||
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) | |||
|
virtual Gtk::ActionGroup::~ActionGroup | ( | ) | [virtual] |
Gtk::ActionGroup::ActionGroup | ( | const Glib::ustring & | name = Glib::ustring() |
) | [explicit, protected] |
void Gtk::ActionGroup::add | ( | const Glib::RefPtr<Action>& | action, | |
const AccelKey& | accel_key, | |||
const Action::SlotActivate& | slot | |||
) |
void Gtk::ActionGroup::add | ( | const Glib::RefPtr<Action>& | action, | |
const Action::SlotActivate& | slot | |||
) |
void Gtk::ActionGroup::add | ( | const Glib::RefPtr<Action>& | action | ) |
static Glib::RefPtr<ActionGroup> Gtk::ActionGroup::create | ( | const Glib::ustring & | name = Glib::ustring() |
) | [static] |
Glib::RefPtr<const Action> Gtk::ActionGroup::get_action | ( | const Glib::ustring & | action_name | ) | const |
Looks up an action in the action group by name.
action_name | The name of the action. |
0
if no action by that name existsGlib::RefPtr<Action> Gtk::ActionGroup::get_action | ( | const Glib::ustring & | action_name | ) |
Looks up an action in the action group by name.
action_name | The name of the action. |
0
if no action by that name existsGlib::ListHandle<Glib::RefPtr<const Action>> Gtk::ActionGroup::get_actions | ( | ) | const |
Lists the actions in the action group.
Glib::ListHandle<Glib::RefPtr<Action>> Gtk::ActionGroup::get_actions | ( | ) |
Lists the actions in the action group.
Glib::ustring Gtk::ActionGroup::get_name | ( | ) | const |
bool Gtk::ActionGroup::get_sensitive | ( | ) | const |
Returns true
if the group is sensitive.
The constituent actions can only be logically sensitive (see is_sensitive()) if they are sensitive (see get_sensitive()) and their group is sensitive.
true
if the group is sensitive.bool Gtk::ActionGroup::get_visible | ( | ) | const |
Returns true
if the group is visible.
The constituent actions can only be logically visible (see is_visible()) if they are visible (see get_visible()) and their group is visible.
true
if the group is visible.const GtkActionGroup* Gtk::ActionGroup::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
GtkActionGroup* Gtk::ActionGroup::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
GtkActionGroup* Gtk::ActionGroup::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
void Gtk::ActionGroup::remove | ( | const Glib::RefPtr<Action>& | action | ) |
void Gtk::ActionGroup::set_sensitive | ( | bool | sensitive = true |
) |
void Gtk::ActionGroup::set_visible | ( | bool | visible = true |
) |
Glib::SignalProxy2<void,const Glib::RefPtr<Action>&,Widget*> Gtk::ActionGroup::signal_connect_proxy | ( | ) |
void connect_proxy(const Glib::RefPtr<Action>& action, Widget* proxy)
Glib::SignalProxy2<void,const Glib::RefPtr<Action>&,Widget*> Gtk::ActionGroup::signal_disconnect_proxy | ( | ) |
void disconnect_proxy(const Glib::RefPtr<Action>& action, Widget* proxy)
Glib::SignalProxy1<void,const Glib::RefPtr<Action>&> Gtk::ActionGroup::signal_post_activate | ( | ) |
void post_activate(const Glib::RefPtr<Action>& action)
Glib::SignalProxy1<void,const Glib::RefPtr<Action>&> Gtk::ActionGroup::signal_pre_activate | ( | ) |
void pre_activate(const Glib::RefPtr<Action>& action)
Glib::ustring Gtk::ActionGroup::translate_string | ( | const Glib::ustring & | str | ) | const |
Translates a string using the specified translate_func().
This is mainly intended for language bindings.
string | A string. |
Glib::RefPtr<Gtk::ActionGroup> wrap | ( | GtkActionGroup * | object, | |
bool | take_copy = false | |||
) | [related] |
object | The C instance |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |