6 #include <gxwmm/paintbox.h>
7 #include <gxwmm/private/paintbox_p.h>
28 #include <gxw/GxPaintBox.h>
40 return dynamic_cast<Gxw::PaintBox *> (Glib::wrap_auto ((GObject*)(
object), take_copy));
56 class_init_func_ = &PaintBox_Class::class_init_function;
73 void PaintBox_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);
91 PaintBox::PaintBox(
const Glib::ConstructParams& construct_params)
93 Gtk::Box(construct_params)
99 Gtk::Box((GtkBox*)(castitem))
112 return paintbox_class_.init().get_type();
122 PaintBox::PaintBox(Gtk::Orientation orientation,
bool homogeneous,
int spacing)
126 Gtk::Box(
Glib::ConstructParams(paintbox_class_.
init(),
"orientation", ((GtkOrientation)(orientation)),
"homogeneous", static_cast<int>(homogeneous),
"spacing", spacing, static_cast<char*>(0)))
134 gx_paint_box_call_paint_func(
gobj(), event);
138 #ifdef GLIBMM_PROPERTIES_ENABLED
139 Glib::PropertyProxy< Glib::ustring > PaintBox::property_paint_func()
141 return Glib::PropertyProxy< Glib::ustring >(
this,
"paint-func");
143 #endif //GLIBMM_PROPERTIES_ENABLED
145 #ifdef GLIBMM_PROPERTIES_ENABLED
146 Glib::PropertyProxy_ReadOnly< Glib::ustring > PaintBox::property_paint_func()
const
148 return Glib::PropertyProxy_ReadOnly< Glib::ustring >(
this,
"paint-func");
150 #endif //GLIBMM_PROPERTIES_ENABLED
152 #ifdef GLIBMM_PROPERTIES_ENABLED
153 Glib::PropertyProxy< guint > PaintBox::property_icon_set()
155 return Glib::PropertyProxy< guint >(
this,
"icon-set");
157 #endif //GLIBMM_PROPERTIES_ENABLED
159 #ifdef GLIBMM_PROPERTIES_ENABLED
160 Glib::PropertyProxy_ReadOnly< guint > PaintBox::property_icon_set()
const
162 return Glib::PropertyProxy_ReadOnly< guint >(
this,
"icon-set");
164 #endif //GLIBMM_PROPERTIES_ENABLED
166 #ifdef GLIBMM_PROPERTIES_ENABLED
167 Glib::PropertyProxy< guint > PaintBox::property_force_reload()
169 return Glib::PropertyProxy< guint >(
this,
"force-reload");
171 #endif //GLIBMM_PROPERTIES_ENABLED
173 #ifdef GLIBMM_PROPERTIES_ENABLED
174 Glib::PropertyProxy_ReadOnly< guint > PaintBox::property_force_reload()
const
176 return Glib::PropertyProxy_ReadOnly< guint >(
this,
"force-reload");
178 #endif //GLIBMM_PROPERTIES_ENABLED