|
Public Types |
typedef TreeViewColumn | Column |
typedef SigC::Slot2< void,
CellRenderer*, const Gtk::TreeModel::iterator& > | SlotCellData |
Public Member Functions |
virtual | ~TreeViewColumn () |
GtkTreeViewColumn* | gobj () |
| Provides access to the underlying C GtkObject.
|
const GtkTreeViewColumn* | gobj () const |
| Provides access to the underlying C GtkObject.
|
| TreeViewColumn () |
| TreeViewColumn (const Glib::ustring& title) |
| TreeViewColumn (const Glib::ustring& title, CellRenderer& cell) |
template <class T_ModelColumnType> | TreeViewColumn (const Glib::ustring& title, const TreeModelColumn<T_ModelColumnType>& column) |
| Create a default view column for the given model column type.
|
void | pack_start (CellRenderer& cell, bool expand=true) |
void | pack_end (CellRenderer& cell, bool expand=true) |
template <class T_ModelColumnType> void | pack_start (const TreeModelColumn<T_ModelColumnType>& column, bool expand=true) |
template <class T_ModelColumnType> void | pack_end (const TreeModelColumn<T_ModelColumnType>& column, bool expand=true) |
void | clear () |
CellRenderer* | get_first_cell_renderer () |
| Gets the CellRenderer for the column.
|
const CellRenderer* | get_first_cell_renderer () const |
| Gets the CellRenderer for the column.
|
Glib::ListHandle<CellRenderer*> | get_cell_renderers () |
Glib::ListHandle<const CellRenderer*> | get_cell_renderers () const |
void | add_attribute (CellRenderer& cell_renderer, const Glib::ustring& attribute, int column) |
void | add_attribute (const Glib::PropertyProxy_Base& property, const TreeModelColumnBase& column) |
void | set_renderer (Gtk::CellRenderer& renderer, const TreeModelColumnBase& column) |
void | set_cell_data_func (CellRenderer& cell_renderer, const SlotCellData& slot) |
void | unset_cell_data_func (CellRenderer& cell_renderer) |
void | clear_attributes (CellRenderer& cell_renderer) |
void | set_spacing (int spacing) |
int | get_spacing () const |
void | set_visible (bool visible=true) |
bool | get_visible () const |
void | set_resizable (bool resizable=true) |
bool | get_resizable () const |
void | set_sizing (TreeViewColumnSizing type) |
TreeViewColumnSizing | get_sizing () |
int | get_width () const |
int | get_fixed_width () const |
void | set_fixed_width (int fixed_width) |
void | set_min_width (int min_width) |
int | get_min_width () const |
void | set_max_width (int max_width) |
int | get_max_width () const |
void | clicked () |
void | set_title (const Glib::ustring& title) |
Glib::ustring | get_title () const |
void | set_clickable (bool clickable=true) |
bool | get_clickable () const |
void | set_widget (Gtk::Widget& widget) |
Widget* | get_widget () |
const Widget* | get_widget () const |
void | set_alignment (float xalign) |
void | set_alignment (AlignmentEnum xalign) |
float | get_alignment () const |
void | set_reorderable (bool reorderable=true) |
bool | get_reorderable () const |
void | set_sort_column_id (const TreeModelColumnBase& sort_column_id) |
void | set_sort_column_id (int sort_column_id) |
int | get_sort_column_id () const |
void | set_sort_indicator (bool setting) |
bool | get_sort_indicator () const |
void | set_sort_order (SortType order) |
SortType | get_sort_order () const |
void | cell_set_cell_data (const Glib::RefPtr<TreeModel>& tree_model, const TreeModel::iterator& iter, bool is_expander, bool is_expanded) |
void | cell_get_size (Gdk::Rectangle& cell_area, int& x_offset, int& y_offset, int& width, int& height) const |
bool | cell_is_visible () const |
void | focus_cell (CellRenderer& cell) |
Glib::SignalProxy0<void> | signal_clicked () |
Glib::PropertyProxy<bool> | property_visible () |
Glib::PropertyProxy_ReadOnly<
int > | property_width () |
Glib::PropertyProxy<TreeViewColumnSizing> | property_sizing () |
Glib::PropertyProxy<int> | property_fixed_width () |
Glib::PropertyProxy<int> | property_min_width () |
Glib::PropertyProxy<int> | property_max_width () |
Glib::PropertyProxy<Glib::ustring> | property_title () |
Glib::PropertyProxy<bool> | property_clickable () |
Glib::PropertyProxy<Widget*> | property_widget () |
Glib::PropertyProxy<float> | property_alignment () |
Glib::PropertyProxy<bool> | property_reorderable () |
Glib::PropertyProxy<bool> | property_sort_indicator () |
Glib::PropertyProxy<SortType> | property_sort_order () |
Protected Member Functions |
virtual void | on_clicked () |
Related Functions |
(Note that these are not member functions.)
|
Gtk::TreeViewColumn* | wrap (GtkTreeViewColumn* object, bool take_copy=false) |