1 // Generated by gmmproc 2.60.0 -- DO NOT MODIFY!
2 
3 
4 #include <glibmm.h>
5 
6 #include <gtkmm/treeviewcolumn.h>
7 #include <gtkmm/private/treeviewcolumn_p.h>
8 
9 #include <gtk/gtk.h>
10 
11 /* Copyright 2002 The gtkmm Development Team
12  *
13  * This library is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU Lesser General Public
15  * License as published by the Free Software Foundation; either
16  * version 2.1 of the License, or (at your option) any later version.
17  *
18  * This library is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21  * Lesser General Public License for more details.
22  *
23  * You should have received a copy of the GNU Lesser General Public
24  * License along with this library; if not, write to the Free Software
25  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
26  */
27 
28 #include <gtk/gtk.h>
29 #include <gtkmm/treeview_private.h>
30 
31 namespace Gtk
32 {
33 
34 // Only necessary because of the templated ctor, see .hg file.
class_init_()35 const Glib::Class& TreeViewColumn::class_init_()
36 {
37   return treeviewcolumn_class_.init();
38 }
39 
TreeViewColumn(const Glib::ustring & title)40 TreeViewColumn::TreeViewColumn(const Glib::ustring& title)
41 :
42   // Mark this class as non-derived to allow C++ vfuncs to be skipped.
43   Glib::ObjectBase(nullptr),
44   Object(Glib::ConstructParams(treeviewcolumn_class_.init(), "title",title.c_str(), nullptr))
45 {}
46 
TreeViewColumn(const Glib::ustring & title,Gtk::CellRenderer & cell)47 TreeViewColumn::TreeViewColumn(const Glib::ustring& title, Gtk::CellRenderer& cell)
48 :
49   // Mark this class as non-derived to allow C++ vfuncs to be skipped.
50   Glib::ObjectBase(nullptr),
51   Object(Glib::ConstructParams(treeviewcolumn_class_.init(), "title",title.c_str(), nullptr))
52 {
53   //This is equivalent to _gtk_tree_view_column_new_with_attributes().
54   //You will also need to call add_atrribute(), or set_renderer() a few times.
55 
56   pack_start(cell, true);
57 }
58 
add_attribute(Gtk::CellRenderer & cell,const Glib::ustring & property_name,const TreeModelColumnBase & column)59 void TreeViewColumn::add_attribute(Gtk::CellRenderer& cell, const Glib::ustring& property_name,
60                                    const TreeModelColumnBase& column)
61 {
62   gtk_tree_view_column_add_attribute(gobj(),
63       (GtkCellRenderer*) cell.gobj(), property_name.c_str(), column.index());
64 }
65 
add_attribute(const Glib::PropertyProxy_Base & property,const TreeModelColumnBase & column)66 void TreeViewColumn::add_attribute(const Glib::PropertyProxy_Base& property,
67                                    const TreeModelColumnBase& column)
68 {
69   gtk_tree_view_column_add_attribute(gobj(),
70       (GtkCellRenderer*) property.get_object()->gobj(), property.get_name(), column.index());
71 }
72 
set_renderer(Gtk::CellRenderer & renderer,const TreeModelColumnBase & column)73 void TreeViewColumn::set_renderer(Gtk::CellRenderer& renderer, const TreeModelColumnBase& column)
74 {
75   add_attribute(renderer._property_renderable(), column);
76 }
77 
78 
set_cell_data_func(CellRenderer & cell_renderer,const SlotTreeCellData & slot)79 void TreeViewColumn::set_cell_data_func(CellRenderer& cell_renderer, const SlotTreeCellData& slot)
80 {
81   //Create a copy of the slot. A pointer to this will be passed through the callback's data parameter.
82   //It will be deleted when TreeView_Private::SignalProxy_CellData_gtk_callback_destroy() is called.
83   auto slot_copy = new SlotTreeCellData(slot);
84 
85   gtk_tree_view_column_set_cell_data_func(
86       gobj(), cell_renderer.gobj(),
87       &TreeView_Private::SignalProxy_CellData_gtk_callback, slot_copy,
88       &TreeView_Private::SignalProxy_CellData_gtk_callback_destroy);
89 }
90 
unset_cell_data_func(CellRenderer & cell_renderer)91 void TreeViewColumn::unset_cell_data_func(CellRenderer& cell_renderer)
92 {
93   gtk_tree_view_column_set_cell_data_func(gobj(), cell_renderer.gobj(), nullptr, nullptr, nullptr);
94 }
95 
96 } // namespace Gtk
97 
98 namespace
99 {
100 
101 
102 static const Glib::SignalProxyInfo TreeViewColumn_signal_clicked_info =
103 {
104   "clicked",
105   (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
106   (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
107 };
108 
109 
110 } // anonymous namespace
111 
112 // static
value_type()113 GType Glib::Value<Gtk::TreeViewColumnSizing>::value_type()
114 {
115   return gtk_tree_view_column_sizing_get_type();
116 }
117 
118 
119 namespace Glib
120 {
121 
wrap(GtkTreeViewColumn * object,bool take_copy)122 Gtk::TreeViewColumn* wrap(GtkTreeViewColumn* object, bool take_copy)
123 {
124   return dynamic_cast<Gtk::TreeViewColumn *> (Glib::wrap_auto ((GObject*)(object), take_copy));
125 }
126 
127 } /* namespace Glib */
128 
129 namespace Gtk
130 {
131 
132 
133 /* The *_Class implementation: */
134 
init()135 const Glib::Class& TreeViewColumn_Class::init()
136 {
137   if(!gtype_) // create the GType if necessary
138   {
139     // Glib::Class has to know the class init function to clone custom types.
140     class_init_func_ = &TreeViewColumn_Class::class_init_function;
141 
142     // This is actually just optimized away, apparently with no harm.
143     // Make sure that the parent type has been created.
144     //CppClassParent::CppObjectType::get_type();
145 
146     // Create the wrapper type, with the same class/instance size as the base type.
147     register_derived_type(gtk_tree_view_column_get_type());
148 
149     // Add derived versions of interfaces, if the C type implements any interfaces:
150   CellLayout::add_interface(get_type());
151 
152   }
153 
154   return *this;
155 }
156 
157 
class_init_function(void * g_class,void * class_data)158 void TreeViewColumn_Class::class_init_function(void* g_class, void* class_data)
159 {
160   const auto klass = static_cast<BaseClassType*>(g_class);
161   CppClassParent::class_init_function(klass, class_data);
162 
163 
164   klass->clicked = &clicked_callback;
165 }
166 
167 
clicked_callback(GtkTreeViewColumn * self)168 void TreeViewColumn_Class::clicked_callback(GtkTreeViewColumn* self)
169 {
170   const auto obj_base = static_cast<Glib::ObjectBase*>(
171       Glib::ObjectBase::_get_current_wrapper((GObject*)self));
172 
173   // Non-gtkmmproc-generated custom classes implicitly call the default
174   // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
175   // generated classes can use this optimisation, which avoids the unnecessary
176   // parameter conversions if there is no possibility of the virtual function
177   // being overridden:
178   if(obj_base && obj_base->is_derived_())
179   {
180     const auto obj = dynamic_cast<CppObjectType* const>(obj_base);
181     if(obj) // This can be NULL during destruction.
182     {
183       try // Trap C++ exceptions which would normally be lost because this is a C callback.
184       {
185         // Call the virtual member method, which derived classes might override.
186         obj->on_clicked();
187         return;
188       }
189       catch(...)
190       {
191         Glib::exception_handlers_invoke();
192       }
193     }
194   }
195 
196   const auto base = static_cast<BaseClassType*>(
197         g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
198     );
199 
200   // Call the original underlying C function:
201   if(base && base->clicked)
202     (*base->clicked)(self);
203 }
204 
205 
wrap_new(GObject * o)206 Glib::ObjectBase* TreeViewColumn_Class::wrap_new(GObject* o)
207 {
208   return manage(new TreeViewColumn((GtkTreeViewColumn*)(o)));
209 
210 }
211 
212 
213 /* The implementation: */
214 
TreeViewColumn(const Glib::ConstructParams & construct_params)215 TreeViewColumn::TreeViewColumn(const Glib::ConstructParams& construct_params)
216 :
217   Object(construct_params)
218 {
219   }
220 
TreeViewColumn(GtkTreeViewColumn * castitem)221 TreeViewColumn::TreeViewColumn(GtkTreeViewColumn* castitem)
222 :
223   Object((GObject*)(castitem))
224 {
225   }
226 
227 
TreeViewColumn(TreeViewColumn && src)228 TreeViewColumn::TreeViewColumn(TreeViewColumn&& src) noexcept
229 : Object(std::move(src))
230   , CellLayout(std::move(src))
231 {}
232 
operator =(TreeViewColumn && src)233 TreeViewColumn& TreeViewColumn::operator=(TreeViewColumn&& src) noexcept
234 {
235   Object::operator=(std::move(src));
236   CellLayout::operator=(std::move(src));
237   return *this;
238 }
239 
~TreeViewColumn()240 TreeViewColumn::~TreeViewColumn() noexcept
241 {
242   destroy_();
243 }
244 
245 TreeViewColumn::CppClassType TreeViewColumn::treeviewcolumn_class_; // initialize static member
246 
get_type()247 GType TreeViewColumn::get_type()
248 {
249   return treeviewcolumn_class_.init().get_type();
250 }
251 
252 
get_base_type()253 GType TreeViewColumn::get_base_type()
254 {
255   return gtk_tree_view_column_get_type();
256 }
257 
258 
TreeViewColumn()259 TreeViewColumn::TreeViewColumn()
260 :
261   // Mark this class as non-derived to allow C++ vfuncs to be skipped.
262   Glib::ObjectBase(nullptr),
263   Object(Glib::ConstructParams(treeviewcolumn_class_.init()))
264 {
265 
266 
267 }
268 
pack_start(CellRenderer & cell,bool expand)269 void TreeViewColumn::pack_start(CellRenderer& cell, bool expand)
270 {
271   gtk_tree_view_column_pack_start(gobj(), (cell).gobj(), static_cast<int>(expand));
272 }
273 
pack_end(CellRenderer & cell,bool expand)274 void TreeViewColumn::pack_end(CellRenderer& cell, bool expand)
275 {
276   gtk_tree_view_column_pack_end(gobj(), (cell).gobj(), static_cast<int>(expand));
277 }
278 
clear()279 void TreeViewColumn::clear()
280 {
281   gtk_tree_view_column_clear(gobj());
282 }
283 
add_attribute(CellRenderer & cell_renderer,const Glib::ustring & attribute,int column)284 void TreeViewColumn::add_attribute(CellRenderer& cell_renderer, const Glib::ustring& attribute, int column)
285 {
286   gtk_tree_view_column_add_attribute(gobj(), (cell_renderer).gobj(), attribute.c_str(), column);
287 }
288 
clear_attributes(CellRenderer & cell_renderer)289 void TreeViewColumn::clear_attributes(CellRenderer& cell_renderer)
290 {
291   gtk_tree_view_column_clear_attributes(gobj(), (cell_renderer).gobj());
292 }
293 
set_spacing(int spacing)294 void TreeViewColumn::set_spacing(int spacing)
295 {
296   gtk_tree_view_column_set_spacing(gobj(), spacing);
297 }
298 
get_spacing() const299 int TreeViewColumn::get_spacing() const
300 {
301   return gtk_tree_view_column_get_spacing(const_cast<GtkTreeViewColumn*>(gobj()));
302 }
303 
set_visible(bool visible)304 void TreeViewColumn::set_visible(bool visible)
305 {
306   gtk_tree_view_column_set_visible(gobj(), static_cast<int>(visible));
307 }
308 
get_visible() const309 bool TreeViewColumn::get_visible() const
310 {
311   return gtk_tree_view_column_get_visible(const_cast<GtkTreeViewColumn*>(gobj()));
312 }
313 
set_resizable(bool resizable)314 void TreeViewColumn::set_resizable(bool resizable)
315 {
316   gtk_tree_view_column_set_resizable(gobj(), static_cast<int>(resizable));
317 }
318 
get_resizable() const319 bool TreeViewColumn::get_resizable() const
320 {
321   return gtk_tree_view_column_get_resizable(const_cast<GtkTreeViewColumn*>(gobj()));
322 }
323 
set_sizing(TreeViewColumnSizing type)324 void TreeViewColumn::set_sizing(TreeViewColumnSizing type)
325 {
326   gtk_tree_view_column_set_sizing(gobj(), ((GtkTreeViewColumnSizing)(type)));
327 }
328 
get_sizing()329 TreeViewColumnSizing TreeViewColumn::get_sizing()
330 {
331   return ((TreeViewColumnSizing)(gtk_tree_view_column_get_sizing(gobj())));
332 }
333 
get_x_offset() const334 int TreeViewColumn::get_x_offset() const
335 {
336   return gtk_tree_view_column_get_x_offset(const_cast<GtkTreeViewColumn*>(gobj()));
337 }
338 
get_width() const339 int TreeViewColumn::get_width() const
340 {
341   return gtk_tree_view_column_get_width(const_cast<GtkTreeViewColumn*>(gobj()));
342 }
343 
get_fixed_width() const344 int TreeViewColumn::get_fixed_width() const
345 {
346   return gtk_tree_view_column_get_fixed_width(const_cast<GtkTreeViewColumn*>(gobj()));
347 }
348 
set_fixed_width(int fixed_width)349 void TreeViewColumn::set_fixed_width(int fixed_width)
350 {
351   gtk_tree_view_column_set_fixed_width(gobj(), fixed_width);
352 }
353 
set_min_width(int min_width)354 void TreeViewColumn::set_min_width(int min_width)
355 {
356   gtk_tree_view_column_set_min_width(gobj(), min_width);
357 }
358 
get_min_width() const359 int TreeViewColumn::get_min_width() const
360 {
361   return gtk_tree_view_column_get_min_width(const_cast<GtkTreeViewColumn*>(gobj()));
362 }
363 
set_max_width(int max_width)364 void TreeViewColumn::set_max_width(int max_width)
365 {
366   gtk_tree_view_column_set_max_width(gobj(), max_width);
367 }
368 
get_max_width() const369 int TreeViewColumn::get_max_width() const
370 {
371   return gtk_tree_view_column_get_max_width(const_cast<GtkTreeViewColumn*>(gobj()));
372 }
373 
clicked()374 void TreeViewColumn::clicked()
375 {
376   gtk_tree_view_column_clicked(gobj());
377 }
378 
set_title(const Glib::ustring & title)379 void TreeViewColumn::set_title(const Glib::ustring& title)
380 {
381   gtk_tree_view_column_set_title(gobj(), title.c_str());
382 }
383 
get_title() const384 Glib::ustring TreeViewColumn::get_title() const
385 {
386   return Glib::convert_const_gchar_ptr_to_ustring(gtk_tree_view_column_get_title(const_cast<GtkTreeViewColumn*>(gobj())));
387 }
388 
set_expand(bool expand)389 void TreeViewColumn::set_expand(bool expand)
390 {
391   gtk_tree_view_column_set_expand(gobj(), static_cast<int>(expand));
392 }
393 
get_expand() const394 bool TreeViewColumn::get_expand() const
395 {
396   return gtk_tree_view_column_get_expand(const_cast<GtkTreeViewColumn*>(gobj()));
397 }
398 
set_clickable(bool clickable)399 void TreeViewColumn::set_clickable(bool clickable)
400 {
401   gtk_tree_view_column_set_clickable(gobj(), static_cast<int>(clickable));
402 }
403 
get_clickable() const404 bool TreeViewColumn::get_clickable() const
405 {
406   return gtk_tree_view_column_get_clickable(const_cast<GtkTreeViewColumn*>(gobj()));
407 }
408 
set_widget(Gtk::Widget & widget)409 void TreeViewColumn::set_widget(Gtk::Widget& widget)
410 {
411   gtk_tree_view_column_set_widget(gobj(), (widget).gobj());
412 }
413 
get_widget()414 Widget* TreeViewColumn::get_widget()
415 {
416   return Glib::wrap(gtk_tree_view_column_get_widget(gobj()));
417 }
418 
get_widget() const419 const Widget* TreeViewColumn::get_widget() const
420 {
421   return Glib::wrap(gtk_tree_view_column_get_widget(const_cast<GtkTreeViewColumn*>(gobj())));
422 }
423 
set_alignment(float xalign)424 void TreeViewColumn::set_alignment(float xalign)
425 {
426   gtk_tree_view_column_set_alignment(gobj(), xalign);
427 }
428 
set_alignment(Align xalign)429 void TreeViewColumn::set_alignment(Align xalign)
430 {
431   gtk_tree_view_column_set_alignment(gobj(), _gtkmm_align_float_from_enum(xalign));
432 }
433 
get_alignment() const434 float TreeViewColumn::get_alignment() const
435 {
436   return gtk_tree_view_column_get_alignment(const_cast<GtkTreeViewColumn*>(gobj()));
437 }
438 
set_reorderable(bool reorderable)439 void TreeViewColumn::set_reorderable(bool reorderable)
440 {
441   gtk_tree_view_column_set_reorderable(gobj(), static_cast<int>(reorderable));
442 }
443 
get_reorderable() const444 bool TreeViewColumn::get_reorderable() const
445 {
446   return gtk_tree_view_column_get_reorderable(const_cast<GtkTreeViewColumn*>(gobj()));
447 }
448 
set_sort_column(const TreeModelColumnBase & sort_column_id)449 void TreeViewColumn::set_sort_column(const TreeModelColumnBase& sort_column_id)
450 {
451   gtk_tree_view_column_set_sort_column_id(gobj(), (sort_column_id).index());
452 }
453 
set_sort_column(int sort_column_id)454 void TreeViewColumn::set_sort_column(int sort_column_id)
455 {
456   gtk_tree_view_column_set_sort_column_id(gobj(), sort_column_id);
457 }
458 
get_sort_column_id() const459 int TreeViewColumn::get_sort_column_id() const
460 {
461   return gtk_tree_view_column_get_sort_column_id(const_cast<GtkTreeViewColumn*>(gobj()));
462 }
463 
set_sort_indicator(bool setting)464 void TreeViewColumn::set_sort_indicator(bool setting)
465 {
466   gtk_tree_view_column_set_sort_indicator(gobj(), static_cast<int>(setting));
467 }
468 
get_sort_indicator() const469 bool TreeViewColumn::get_sort_indicator() const
470 {
471   return gtk_tree_view_column_get_sort_indicator(const_cast<GtkTreeViewColumn*>(gobj()));
472 }
473 
set_sort_order(SortType order)474 void TreeViewColumn::set_sort_order(SortType order)
475 {
476   gtk_tree_view_column_set_sort_order(gobj(), ((GtkSortType)(order)));
477 }
478 
get_sort_order() const479 SortType TreeViewColumn::get_sort_order() const
480 {
481   return ((SortType)(gtk_tree_view_column_get_sort_order(const_cast<GtkTreeViewColumn*>(gobj()))));
482 }
483 
cell_set_cell_data(const Glib::RefPtr<TreeModel> & tree_model,const TreeModel::iterator & iter,bool is_expander,bool is_expanded)484 void TreeViewColumn::cell_set_cell_data(const Glib::RefPtr<TreeModel>& tree_model, const TreeModel::iterator& iter, bool is_expander, bool is_expanded)
485 {
486   gtk_tree_view_column_cell_set_cell_data(gobj(), Glib::unwrap(tree_model), const_cast<GtkTreeIter*>((iter).gobj()), static_cast<int>(is_expander), static_cast<int>(is_expanded));
487 }
488 
cell_get_size(const Gdk::Rectangle & cell_area,int & x_offset,int & y_offset,int & width,int & height) const489 void TreeViewColumn::cell_get_size(const Gdk::Rectangle& cell_area, int& x_offset, int& y_offset, int& width, int& height) const
490 {
491   gtk_tree_view_column_cell_get_size(const_cast<GtkTreeViewColumn*>(gobj()), (cell_area).gobj(), &(x_offset), &(y_offset), &(width), &(height));
492 }
493 
cell_is_visible() const494 bool TreeViewColumn::cell_is_visible() const
495 {
496   return gtk_tree_view_column_cell_is_visible(const_cast<GtkTreeViewColumn*>(gobj()));
497 }
498 
focus_cell(CellRenderer & cell)499 void TreeViewColumn::focus_cell(CellRenderer& cell)
500 {
501   gtk_tree_view_column_focus_cell(gobj(), (cell).gobj());
502 }
503 
get_cell_position(const CellRenderer & cell_renderer,int & start_pos,int & width) const504 bool TreeViewColumn::get_cell_position(const CellRenderer& cell_renderer, int& start_pos, int& width) const
505 {
506   return gtk_tree_view_column_cell_get_position(const_cast<GtkTreeViewColumn*>(gobj()), const_cast<GtkCellRenderer*>((cell_renderer).gobj()), &(start_pos), &(width));
507 }
508 
queue_resize()509 void TreeViewColumn::queue_resize()
510 {
511   gtk_tree_view_column_queue_resize(gobj());
512 }
513 
get_tree_view()514 TreeView* TreeViewColumn::get_tree_view()
515 {
516   TreeView* retvalue = Glib::wrap((GtkTreeView*)(gtk_tree_view_column_get_tree_view(gobj())));
517   if(retvalue)
518     retvalue->reference(); //The function does not do a ref for us.
519   return retvalue;
520 }
521 
get_tree_view() const522 const TreeView* TreeViewColumn::get_tree_view() const
523 {
524   return const_cast<TreeViewColumn*>(this)->get_tree_view();
525 }
526 
get_button()527 Button* TreeViewColumn::get_button()
528 {
529   Button* retvalue = Glib::wrap((GtkButton*)(gtk_tree_view_column_get_button(gobj())));
530   if(retvalue)
531     retvalue->reference(); //The function does not do a ref for us.
532   return retvalue;
533 }
534 
get_button() const535 const Button* TreeViewColumn::get_button() const
536 {
537   return const_cast<TreeViewColumn*>(this)->get_button();
538 }
539 
540 
signal_clicked()541 Glib::SignalProxy< void > TreeViewColumn::signal_clicked()
542 {
543   return Glib::SignalProxy< void >(this, &TreeViewColumn_signal_clicked_info);
544 }
545 
546 
property_visible()547 Glib::PropertyProxy< bool > TreeViewColumn::property_visible()
548 {
549   return Glib::PropertyProxy< bool >(this, "visible");
550 }
551 
property_visible() const552 Glib::PropertyProxy_ReadOnly< bool > TreeViewColumn::property_visible() const
553 {
554   return Glib::PropertyProxy_ReadOnly< bool >(this, "visible");
555 }
556 
property_resizable()557 Glib::PropertyProxy< bool > TreeViewColumn::property_resizable()
558 {
559   return Glib::PropertyProxy< bool >(this, "resizable");
560 }
561 
property_resizable() const562 Glib::PropertyProxy_ReadOnly< bool > TreeViewColumn::property_resizable() const
563 {
564   return Glib::PropertyProxy_ReadOnly< bool >(this, "resizable");
565 }
566 
property_x_offset() const567 Glib::PropertyProxy_ReadOnly< int > TreeViewColumn::property_x_offset() const
568 {
569   return Glib::PropertyProxy_ReadOnly< int >(this, "x-offset");
570 }
571 
property_width() const572 Glib::PropertyProxy_ReadOnly< int > TreeViewColumn::property_width() const
573 {
574   return Glib::PropertyProxy_ReadOnly< int >(this, "width");
575 }
576 
property_spacing()577 Glib::PropertyProxy< int > TreeViewColumn::property_spacing()
578 {
579   return Glib::PropertyProxy< int >(this, "spacing");
580 }
581 
property_spacing() const582 Glib::PropertyProxy_ReadOnly< int > TreeViewColumn::property_spacing() const
583 {
584   return Glib::PropertyProxy_ReadOnly< int >(this, "spacing");
585 }
586 
property_sizing()587 Glib::PropertyProxy< TreeViewColumnSizing > TreeViewColumn::property_sizing()
588 {
589   return Glib::PropertyProxy< TreeViewColumnSizing >(this, "sizing");
590 }
591 
property_sizing() const592 Glib::PropertyProxy_ReadOnly< TreeViewColumnSizing > TreeViewColumn::property_sizing() const
593 {
594   return Glib::PropertyProxy_ReadOnly< TreeViewColumnSizing >(this, "sizing");
595 }
596 
property_fixed_width()597 Glib::PropertyProxy< int > TreeViewColumn::property_fixed_width()
598 {
599   return Glib::PropertyProxy< int >(this, "fixed-width");
600 }
601 
property_fixed_width() const602 Glib::PropertyProxy_ReadOnly< int > TreeViewColumn::property_fixed_width() const
603 {
604   return Glib::PropertyProxy_ReadOnly< int >(this, "fixed-width");
605 }
606 
property_min_width()607 Glib::PropertyProxy< int > TreeViewColumn::property_min_width()
608 {
609   return Glib::PropertyProxy< int >(this, "min-width");
610 }
611 
property_min_width() const612 Glib::PropertyProxy_ReadOnly< int > TreeViewColumn::property_min_width() const
613 {
614   return Glib::PropertyProxy_ReadOnly< int >(this, "min-width");
615 }
616 
property_max_width()617 Glib::PropertyProxy< int > TreeViewColumn::property_max_width()
618 {
619   return Glib::PropertyProxy< int >(this, "max-width");
620 }
621 
property_max_width() const622 Glib::PropertyProxy_ReadOnly< int > TreeViewColumn::property_max_width() const
623 {
624   return Glib::PropertyProxy_ReadOnly< int >(this, "max-width");
625 }
626 
property_title()627 Glib::PropertyProxy< Glib::ustring > TreeViewColumn::property_title()
628 {
629   return Glib::PropertyProxy< Glib::ustring >(this, "title");
630 }
631 
property_title() const632 Glib::PropertyProxy_ReadOnly< Glib::ustring > TreeViewColumn::property_title() const
633 {
634   return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "title");
635 }
636 
property_expand()637 Glib::PropertyProxy< bool > TreeViewColumn::property_expand()
638 {
639   return Glib::PropertyProxy< bool >(this, "expand");
640 }
641 
property_expand() const642 Glib::PropertyProxy_ReadOnly< bool > TreeViewColumn::property_expand() const
643 {
644   return Glib::PropertyProxy_ReadOnly< bool >(this, "expand");
645 }
646 
property_clickable()647 Glib::PropertyProxy< bool > TreeViewColumn::property_clickable()
648 {
649   return Glib::PropertyProxy< bool >(this, "clickable");
650 }
651 
property_clickable() const652 Glib::PropertyProxy_ReadOnly< bool > TreeViewColumn::property_clickable() const
653 {
654   return Glib::PropertyProxy_ReadOnly< bool >(this, "clickable");
655 }
656 
property_widget()657 Glib::PropertyProxy< Widget* > TreeViewColumn::property_widget()
658 {
659   return Glib::PropertyProxy< Widget* >(this, "widget");
660 }
661 
property_widget() const662 Glib::PropertyProxy_ReadOnly< Widget* > TreeViewColumn::property_widget() const
663 {
664   return Glib::PropertyProxy_ReadOnly< Widget* >(this, "widget");
665 }
666 
property_alignment()667 Glib::PropertyProxy< float > TreeViewColumn::property_alignment()
668 {
669   return Glib::PropertyProxy< float >(this, "alignment");
670 }
671 
property_alignment() const672 Glib::PropertyProxy_ReadOnly< float > TreeViewColumn::property_alignment() const
673 {
674   return Glib::PropertyProxy_ReadOnly< float >(this, "alignment");
675 }
676 
property_reorderable()677 Glib::PropertyProxy< bool > TreeViewColumn::property_reorderable()
678 {
679   return Glib::PropertyProxy< bool >(this, "reorderable");
680 }
681 
property_reorderable() const682 Glib::PropertyProxy_ReadOnly< bool > TreeViewColumn::property_reorderable() const
683 {
684   return Glib::PropertyProxy_ReadOnly< bool >(this, "reorderable");
685 }
686 
property_sort_indicator()687 Glib::PropertyProxy< bool > TreeViewColumn::property_sort_indicator()
688 {
689   return Glib::PropertyProxy< bool >(this, "sort-indicator");
690 }
691 
property_sort_indicator() const692 Glib::PropertyProxy_ReadOnly< bool > TreeViewColumn::property_sort_indicator() const
693 {
694   return Glib::PropertyProxy_ReadOnly< bool >(this, "sort-indicator");
695 }
696 
property_sort_order()697 Glib::PropertyProxy< SortType > TreeViewColumn::property_sort_order()
698 {
699   return Glib::PropertyProxy< SortType >(this, "sort-order");
700 }
701 
property_sort_order() const702 Glib::PropertyProxy_ReadOnly< SortType > TreeViewColumn::property_sort_order() const
703 {
704   return Glib::PropertyProxy_ReadOnly< SortType >(this, "sort-order");
705 }
706 
property_sort_column_id()707 Glib::PropertyProxy< int > TreeViewColumn::property_sort_column_id()
708 {
709   return Glib::PropertyProxy< int >(this, "sort-column-id");
710 }
711 
property_sort_column_id() const712 Glib::PropertyProxy_ReadOnly< int > TreeViewColumn::property_sort_column_id() const
713 {
714   return Glib::PropertyProxy_ReadOnly< int >(this, "sort-column-id");
715 }
716 
property_cell_area() const717 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<CellArea> > TreeViewColumn::property_cell_area() const
718 {
719   return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<CellArea> >(this, "cell-area");
720 }
721 
722 
on_clicked()723 void Gtk::TreeViewColumn::on_clicked()
724 {
725   const auto base = static_cast<BaseClassType*>(
726       g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
727   );
728 
729   if(base && base->clicked)
730     (*base->clicked)(gobj());
731 }
732 
733 
734 } // namespace Gtk
735 
736 
737