6 #include <gxwmm/switch.h> 7 #include <gxwmm/private/switch_p.h> 28 #include <gxw/GxSwitch.h> 33 Gtk::ToggleButton(
Glib::ConstructParams(switch_class_.
init(),
"base_name",base_name.c_str(), static_cast<char*>(0)))
46 return dynamic_cast<Gxw::Switch *
> (Glib::wrap_auto ((GObject*)(
object), take_copy));
62 class_init_func_ = &Switch_Class::class_init_function;
80 void Switch_Class::class_init_function(
void* g_class,
void* class_data)
83 CppClassParent::class_init_function(klass, class_data);
100 Gtk::ToggleButton(construct_params)
106 Gtk::ToggleButton((GtkToggleButton*)(castitem))
119 return switch_class_.init().get_type();
133 Gtk::ToggleButton(
Glib::ConstructParams(switch_class_.
init()))
141 gx_switch_set_label_ref(
gobj(), (GtkLabel*)Glib::unwrap(p1));
151 gx_switch_set_base_name(
gobj(), p1.c_str());
156 return Glib::convert_const_gchar_ptr_to_ustring(gx_switch_get_base_name(
gobj()));
160 #ifdef GLIBMM_PROPERTIES_ENABLED 161 Glib::PropertyProxy< Glib::ustring > Switch::property_base_name()
163 return Glib::PropertyProxy< Glib::ustring >(
this,
"base-name");
165 #endif //GLIBMM_PROPERTIES_ENABLED 167 #ifdef GLIBMM_PROPERTIES_ENABLED 168 Glib::PropertyProxy_ReadOnly< Glib::ustring > Switch::property_base_name()
const 170 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(
this,
"base-name");
172 #endif //GLIBMM_PROPERTIES_ENABLED 174 #ifdef GLIBMM_PROPERTIES_ENABLED 175 Glib::PropertyProxy< Gtk::Label > Switch::property_label_ref()
177 return Glib::PropertyProxy< Gtk::Label >(
this,
"label-ref");
179 #endif //GLIBMM_PROPERTIES_ENABLED 181 #ifdef GLIBMM_PROPERTIES_ENABLED 182 Glib::PropertyProxy_ReadOnly< Gtk::Label > Switch::property_label_ref()
const 184 return Glib::PropertyProxy_ReadOnly< Gtk::Label >(
this,
"label-ref");
186 #endif //GLIBMM_PROPERTIES_ENABLED 188 #ifdef GLIBMM_PROPERTIES_ENABLED 189 Glib::PropertyProxy< Glib::ustring > Switch::property_var_id()
191 return Glib::PropertyProxy< Glib::ustring >(
this,
"var-id");
193 #endif //GLIBMM_PROPERTIES_ENABLED 195 #ifdef GLIBMM_PROPERTIES_ENABLED 196 Glib::PropertyProxy_ReadOnly< Glib::ustring > Switch::property_var_id()
const 198 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(
this,
"var-id");
200 #endif //GLIBMM_PROPERTIES_ENABLED
void set_label_ref(Gtk::Label *p1)
GType gx_switch_get_type(void)
static GType get_type() G_GNUC_CONST
static void add_interface(GType gtype_implementer)
static Glib::ObjectBase * wrap_new(GObject *)
static GType get_base_type() G_GNUC_CONST
Gtk::Label * get_label_ref()
struct _GxSwitch GxSwitch
void set_base_name(const Glib::ustring &p1)
GxSwitchClass BaseClassType
GxSwitch * gobj()
Provides access to the underlying C GtkObject.
Gxw::BigKnob * wrap(GxBigKnob *object, bool take_copy)
Glib::ustring get_base_name()
Gxw::Switch * wrap(GxSwitch *object, bool take_copy=false)
A Glib::wrap() method for this object.