3 #ifndef _GTKMM_RADIOACTION_H
4 #define _GTKMM_RADIOACTION_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
39 #ifndef DOXYGEN_SHOULD_SKIP_THIS
41 {
class RadioAction_Class; }
57 #ifndef DOXYGEN_SHOULD_SKIP_THIS
66 static CppClassType radioaction_class_;
74 explicit RadioAction(
const Glib::ConstructParams& construct_params);
86 #ifndef DOXYGEN_SHOULD_SKIP_THIS
89 static GType get_base_type() G_GNUC_CONST;
120 explicit RadioAction(
Group& group,
const Glib::ustring&
name,
const StockID& stock_id =
StockID(),
const Glib::ustring& label = Glib::ustring(),
const Glib::ustring& tooltip = Glib::ustring());
133 explicit RadioAction(
Group& group,
const Glib::ustring&
name,
const Glib::ustring& icon_name,
const Glib::ustring& label = Glib::ustring(),
const Glib::ustring& tooltip = Glib::ustring());
139 static Glib::RefPtr<RadioAction>
create();
151 static Glib::RefPtr<RadioAction>
create(
Group& group,
const Glib::ustring&
name,
const Glib::ustring& label = Glib::ustring(),
const Glib::ustring& tooltip = Glib::ustring());
166 static Glib::RefPtr<RadioAction>
create(
Group& group,
const Glib::ustring&
name,
const Gtk::StockID& stock_id,
const Glib::ustring& label = Glib::ustring(),
const Glib::ustring& tooltip = Glib::ustring());
181 static Glib::RefPtr<RadioAction>
create_with_icon_name(
Group& group,
const Glib::ustring&
name,
const Glib::ustring& icon_name,
const Glib::ustring& label,
const Glib::ustring& tooltip);
267 virtual void on_changed(
const Glib::RefPtr<RadioAction>& current);
static Glib::RefPtr< RadioAction > create(Group &group, const Glib::ustring &name, const Glib::ustring &label=Glib::ustring(), const Glib::ustring &tooltip=Glib::ustring())
GtkRadioAction * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
Glib::PropertyProxy_ReadOnly< int > property_current_value() const
Glib::RefPtr< Gtk::RadioAction > wrap(GtkRadioAction *object, bool take_copy=false)
static GType get_type() G_GNUC_CONST
const GtkRadioAction * gobj() const
Provides access to the underlying C GObject.
Glib::PropertyProxy< int > property_value()
Glib::SignalProxy1< void, const Glib::RefPtr< RadioAction > & > signal_changed()
RadioAction(Group &group, const Glib::ustring &name, const StockID &stock_id=StockID(), const Glib::ustring &label=Glib::ustring(), const Glib::ustring &tooltip=Glib::ustring())
static Glib::RefPtr< RadioAction > create(Group &group, const Glib::ustring &name, const Gtk::StockID &stock_id, const Glib::ustring &label=Glib::ustring(), const Glib::ustring &tooltip=Glib::ustring())
Glib::PropertyProxy_ReadOnly< int > property_value() const
void set_current_value(int current_value)
int get_current_value() const
virtual void on_changed(const Glib::RefPtr< RadioAction > ¤t)
This is a default handler for the signal signal_changed().
void set_group(Group &group)
GtkRadioAction * gobj()
Provides access to the underlying C GObject.
static Glib::RefPtr< RadioAction > create()
Glib::PropertyProxy< int > property_current_value()
RadioAction(Group &group, const Glib::ustring &name, const Glib::ustring &icon_name, const Glib::ustring &label=Glib::ustring(), const Glib::ustring &tooltip=Glib::ustring())
static Glib::RefPtr< RadioAction > create_with_icon_name(Group &group, const Glib::ustring &name, const Glib::ustring &icon_name, const Glib::ustring &label, const Glib::ustring &tooltip)
GtkImageIconNameData name