6 #include <gxwmm/meterscale.h> 7 #include <gxwmm/private/meterscale_p.h> 28 #include <gxw/GxMeterScale.h> 37 return gx_tick_position_get_type();
46 return dynamic_cast<Gxw::MeterScale *
> (Glib::wrap_auto ((GObject*)(
object), take_copy));
62 class_init_func_ = &MeterScale_Class::class_init_function;
79 void MeterScale_Class::class_init_function(
void* g_class,
void* class_data)
81 BaseClassType *
const klass =
static_cast<BaseClassType*
>(g_class);
82 CppClassParent::class_init_function(klass, class_data);
88 Glib::ObjectBase* MeterScale_Class::wrap_new(GObject* o)
97 MeterScale::MeterScale(
const Glib::ConstructParams& construct_params)
99 Gtk::Widget(construct_params)
105 Gtk::Widget((GtkWidget*)(castitem))
118 return meterscale_class_.init().get_type();
132 Gtk::Widget(
Glib::ConstructParams(meterscale_class_.
init()))
140 gx_meter_scale_add_mark(
gobj(), p1, p2.c_str());
145 gx_meter_scale_clear_marks(
gobj());
149 #ifdef GLIBMM_PROPERTIES_ENABLED 150 Glib::PropertyProxy< TickPosition > MeterScale::property_tick_pos()
152 return Glib::PropertyProxy< TickPosition >(
this,
"tick-pos");
154 #endif //GLIBMM_PROPERTIES_ENABLED 156 #ifdef GLIBMM_PROPERTIES_ENABLED 157 Glib::PropertyProxy_ReadOnly< TickPosition > MeterScale::property_tick_pos()
const 159 return Glib::PropertyProxy_ReadOnly< TickPosition >(
this,
"tick-pos");
161 #endif //GLIBMM_PROPERTIES_ENABLED void add_mark(double p1, const Glib::ustring &p2)
GType gx_meter_scale_get_type(void)
GxMeterScale * gobj()
Provides access to the underlying C GtkObject.
static GType value_type() G_GNUC_CONST
static GType get_base_type() G_GNUC_CONST
Gxw::BigKnob * wrap(GxBigKnob *object, bool take_copy)
static GType get_type() G_GNUC_CONST
struct _GxMeterScale GxMeterScale