3 #ifndef _GTKMM_CELLLAYOUT_H
4 #define _GTKMM_CELLLAYOUT_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
29 #include <glibmm/interface.h>
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
43 #ifndef DOXYGEN_SHOULD_SKIP_THIS
45 typedef struct _GtkCellLayoutClass GtkCellLayoutClass;
49 #ifndef DOXYGEN_SHOULD_SKIP_THIS
51 {
class CellLayout_Class; }
65 #ifndef DOXYGEN_SHOULD_SKIP_THIS
75 static CppClassType celllayout_class_;
88 #ifndef DOXYGEN_SHOULD_SKIP_THIS
95 explicit CellLayout(
const Glib::Interface_Class& interface_class);
115 #ifndef DOXYGEN_SHOULD_SKIP_THIS
116 static GType get_base_type() G_GNUC_CONST;
130 template <
class ColumnType>
inline
167 Glib::ListHandle<const CellRenderer*>
get_cells()
const;
195 typedef sigc::slot<void, const TreeModel::const_iterator&>
SlotCellData;
246 template<
class T_ModelColumnType>
250 CellRenderer* pCellRenderer =
manage( CellRenderer_Generation::generate_cellrenderer<T_ModelColumnType>() );
virtual void pack_start_vfunc(CellRenderer *cell, bool expand)
GtkCellLayout * gobj()
Provides access to the underlying C GObject.
virtual void pack_end_vfunc(CellRenderer *cell, bool expand)
void add_attribute(CellRenderer &cell, const Glib::ustring &attribute, const TreeModelColumnBase &column)
const GtkCellLayout * gobj() const
Provides access to the underlying C GObject.
static GType get_type() G_GNUC_CONST
Glib::ListHandle< const CellRenderer * > get_cells() const
Glib::RefPtr< Gtk::CellLayout > wrap(GtkCellLayout *object, bool take_copy=false)
virtual void clear_vfunc()
virtual void reorder_vfunc(CellRenderer *cell, int position)
void pack_end(CellRenderer &cell, bool expand=true)
void pack_start(const TreeModelColumn< ColumnType > &model_column, bool expand=true)
static void add_interface(GType gtype_implementer)
void pack_start(CellRenderer &cell, bool expand=true)
void set_cell_data_func(CellRenderer &cell, const SlotCellData &slot)
Glib::ListHandle< CellRenderer * > get_cells()
void add_attribute(CellRenderer &cell, const Glib::ustring &attribute, int column)
void reorder(CellRenderer &cell, int position)
void add_attribute(const Glib::PropertyProxy_Base &property, const TreeModelColumnBase &column)
sigc::slot< void, const TreeModel::const_iterator & > SlotCellData
void clear_attributes(CellRenderer &cell)
virtual void clear_attributes_vfunc(CellRenderer *cell)
virtual void add_attribute_vfunc(CellRenderer *cell, const Glib::ustring &attribute, int column)
virtual Glib::PropertyProxy_Base _property_renderable()
struct _GtkCellLayout GtkCellLayout