6 #include <gxwmm/waveview.h>
7 #include <gxwmm/private/waveview_p.h>
28 #include <gxw/GxWaveView.h>
40 return dynamic_cast<Gxw::WaveView *> (Glib::wrap_auto ((GObject*)(
object), take_copy));
56 class_init_func_ = &WaveView_Class::class_init_function;
73 void WaveView_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);
93 Gtk::DrawingArea(construct_params)
99 Gtk::DrawingArea((GtkDrawingArea*)(castitem))
112 return waveview_class_.init().get_type();
126 Gtk::DrawingArea(
Glib::ConstructParams(waveview_class_.
init()))
134 gx_wave_view_set_multiplicator(
gobj(), p1, p2);
139 gx_wave_view_set_frame(
gobj(), p1, p2);
144 gx_wave_view_set_text(
gobj(), p1.c_str(), ((GtkCornerType)(p2)));
148 #ifdef GLIBMM_PROPERTIES_ENABLED
149 Glib::PropertyProxy< Glib::ustring > WaveView::property_text_top_left()
151 return Glib::PropertyProxy< Glib::ustring >(
this,
"text-top-left");
153 #endif //GLIBMM_PROPERTIES_ENABLED
155 #ifdef GLIBMM_PROPERTIES_ENABLED
156 Glib::PropertyProxy_ReadOnly< Glib::ustring > WaveView::property_text_top_left()
const
158 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(
this,
"text-top-left");
160 #endif //GLIBMM_PROPERTIES_ENABLED
162 #ifdef GLIBMM_PROPERTIES_ENABLED
163 Glib::PropertyProxy< Glib::ustring > WaveView::property_text_top_right()
165 return Glib::PropertyProxy< Glib::ustring >(
this,
"text-top-right");
167 #endif //GLIBMM_PROPERTIES_ENABLED
169 #ifdef GLIBMM_PROPERTIES_ENABLED
170 Glib::PropertyProxy_ReadOnly< Glib::ustring > WaveView::property_text_top_right()
const
172 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(
this,
"text-top-right");
174 #endif //GLIBMM_PROPERTIES_ENABLED
176 #ifdef GLIBMM_PROPERTIES_ENABLED
177 Glib::PropertyProxy< Glib::ustring > WaveView::property_text_bottom_left()
179 return Glib::PropertyProxy< Glib::ustring >(
this,
"text-bottom-left");
181 #endif //GLIBMM_PROPERTIES_ENABLED
183 #ifdef GLIBMM_PROPERTIES_ENABLED
184 Glib::PropertyProxy_ReadOnly< Glib::ustring > WaveView::property_text_bottom_left()
const
186 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(
this,
"text-bottom-left");
188 #endif //GLIBMM_PROPERTIES_ENABLED
190 #ifdef GLIBMM_PROPERTIES_ENABLED
191 Glib::PropertyProxy< Glib::ustring > WaveView::property_text_bottom_right()
193 return Glib::PropertyProxy< Glib::ustring >(
this,
"text-bottom-right");
195 #endif //GLIBMM_PROPERTIES_ENABLED
197 #ifdef GLIBMM_PROPERTIES_ENABLED
198 Glib::PropertyProxy_ReadOnly< Glib::ustring > WaveView::property_text_bottom_right()
const
200 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(
this,
"text-bottom-right");
202 #endif //GLIBMM_PROPERTIES_ENABLED
204 #ifdef GLIBMM_PROPERTIES_ENABLED
205 Glib::PropertyProxy< double > WaveView::property_text_pos_left()
207 return Glib::PropertyProxy< double >(
this,
"text-pos-left");
209 #endif //GLIBMM_PROPERTIES_ENABLED
211 #ifdef GLIBMM_PROPERTIES_ENABLED
212 Glib::PropertyProxy_ReadOnly< double > WaveView::property_text_pos_left()
const
214 return Glib::PropertyProxy_ReadOnly< double >(
this,
"text-pos-left");
216 #endif //GLIBMM_PROPERTIES_ENABLED
218 #ifdef GLIBMM_PROPERTIES_ENABLED
219 Glib::PropertyProxy< double > WaveView::property_text_pos_right()
221 return Glib::PropertyProxy< double >(
this,
"text-pos-right");
223 #endif //GLIBMM_PROPERTIES_ENABLED
225 #ifdef GLIBMM_PROPERTIES_ENABLED
226 Glib::PropertyProxy_ReadOnly< double > WaveView::property_text_pos_right()
const
228 return Glib::PropertyProxy_ReadOnly< double >(
this,
"text-pos-right");
230 #endif //GLIBMM_PROPERTIES_ENABLED