6 #include <gxwmm/fastmeter.h> 7 #include <gxwmm/private/fastmeter_p.h> 28 #include <gxw/GxFastMeter.h> 40 return dynamic_cast<Gxw::FastMeter *
> (Glib::wrap_auto ((GObject*)(
object), take_copy));
56 class_init_func_ = &FastMeter_Class::class_init_function;
73 void FastMeter_Class::class_init_function(
void* g_class,
void* class_data)
75 BaseClassType *
const klass =
static_cast<BaseClassType*
>(g_class);
76 CppClassParent::class_init_function(klass, class_data);
82 Glib::ObjectBase* FastMeter_Class::wrap_new(GObject* o)
91 FastMeter::FastMeter(
const Glib::ConstructParams& construct_params)
93 Gtk::DrawingArea(construct_params)
99 Gtk::DrawingArea((GtkDrawingArea*)(castitem))
112 return fastmeter_class_.init().get_type();
126 Gtk::DrawingArea(
Glib::ConstructParams(fastmeter_class_.
init()))
134 gx_fast_meter_set(
gobj(), lvl);
139 gx_fast_meter_set_by_power(
gobj(), lvl);
144 gx_fast_meter_set_c_level(
gobj(), lvl);
149 gx_fast_meter_clear(
gobj());
154 gx_fast_meter_set_hold_count(
gobj(), val);
158 #ifdef GLIBMM_PROPERTIES_ENABLED 159 Glib::PropertyProxy< int > FastMeter::property_hold()
161 return Glib::PropertyProxy< int >(
this,
"hold");
163 #endif //GLIBMM_PROPERTIES_ENABLED 165 #ifdef GLIBMM_PROPERTIES_ENABLED 166 Glib::PropertyProxy_ReadOnly< int > FastMeter::property_hold()
const 168 return Glib::PropertyProxy_ReadOnly< int >(
this,
"hold");
170 #endif //GLIBMM_PROPERTIES_ENABLED 172 #ifdef GLIBMM_PROPERTIES_ENABLED 173 Glib::PropertyProxy< int > FastMeter::property_dimen()
175 return Glib::PropertyProxy< int >(
this,
"dimen");
177 #endif //GLIBMM_PROPERTIES_ENABLED 179 #ifdef GLIBMM_PROPERTIES_ENABLED 180 Glib::PropertyProxy_ReadOnly< int > FastMeter::property_dimen()
const 182 return Glib::PropertyProxy_ReadOnly< int >(
this,
"dimen");
184 #endif //GLIBMM_PROPERTIES_ENABLED 186 #ifdef GLIBMM_PROPERTIES_ENABLED 187 Glib::PropertyProxy< Glib::ustring > FastMeter::property_var_id()
189 return Glib::PropertyProxy< Glib::ustring >(
this,
"var-id");
191 #endif //GLIBMM_PROPERTIES_ENABLED 193 #ifdef GLIBMM_PROPERTIES_ENABLED 194 Glib::PropertyProxy_ReadOnly< Glib::ustring > FastMeter::property_var_id()
const 196 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(
this,
"var-id");
198 #endif //GLIBMM_PROPERTIES_ENABLED GType gx_fast_meter_get_type(void)
void set_c_level(double lvl)
static GType get_type() G_GNUC_CONST
void set_hold_count(int val)
static GType get_base_type() G_GNUC_CONST
void set_by_power(double lvl)
Gxw::BigKnob * wrap(GxBigKnob *object, bool take_copy)
GxFastMeter * gobj()
Provides access to the underlying C GtkObject.
struct _GxFastMeter GxFastMeter