1 #ifndef _GTKMM_CELLRENDERER_GENERATION_H
2 #define _GTKMM_CELLRENDERER_GENERATION_H
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 namespace CellRenderer_Generation
36 template<
class T_ModelColumnType>
37 CellRenderer* generate_cellrenderer(
bool editable =
false)
39 CellRendererText* pCellRenderer =
new CellRendererText();
42 pCellRenderer->property_editable() = editable;
47 #if !defined(__GNUC__) || __GNUC__ > 2
51 CellRenderer* generate_cellrenderer<bool>(
bool editable);
54 CellRenderer* generate_cellrenderer< Glib::RefPtr<Gdk::Pixbuf> >(
bool editable);
57 CellRenderer* generate_cellrenderer<AccelKey>(
bool editable);