![]() |

A CellView displays a single row of a TreeModel, using cell renderers just like TreeView. CellView doesn't support some of the more complex features of GtkTreeView, like cell editing and drag and drop.
Public Member Functions | |
| CellView (const Glib::RefPtr<Gdk::Pixbuf>& pixbuf) | |
| Creates a new CellView widget, adds a CellRendererPixbuf to it, and makes it show the pixbuf. | |
| CellView (const Glib::ustring& text, bool use_markup=false) | |
| Creates a new CellView widget, adds a CellRendererText to it, and makes it show the text. | |
| CellView () | |
| Glib::ListHandle<const CellRenderer*> | get_cell_renderers () const |
| Returns the cell renderers which have been added to cell_view . | |
| Glib::ListHandle<CellRenderer*> | get_cell_renderers () |
| Returns the cell renderers which have been added to cell_view . | |
| TreeModel::Path | get_displayed_row () const |
| bool | get_size_of_row (const TreeModel::Path& path, Requisition& requisition) const |
| Sets requisition to the size needed by cell_view to display the model row pointed to by path . | |
| const GtkCellView* | gobj () const |
| Provides access to the underlying C GtkObject. | |
| GtkCellView* | gobj () |
| Provides access to the underlying C GtkObject. | |
| void | set_background_color (const Gdk::Color& color) |
| Sets the background color of view . | |
| void | set_displayed_row (const TreeModel::Path& path) |
| Sets the row of the model that is currently displayed by the Gtk::CellView. | |
| void | set_model (const Glib::RefPtr<TreeModel>& model) |
| Sets the model for cell_view . | |
| virtual | ~CellView () |
Related Functions | |
| (Note that these are not member functions.) | |
| Gtk::CellView* | wrap (GtkCellView* object, bool take_copy=false) |
|
|
|
|
|
|
|
||||||||||||
|
Creates a new CellView widget, adds a CellRendererText to it, and makes it show the text. Optionally, the text can be marked up with the Pango text markup language.
|
|
|
Creates a new CellView widget, adds a CellRendererPixbuf to it, and makes it show the pixbuf.
|
|
|
Returns the cell renderers which have been added to cell_view .
|
|
|
Returns the cell renderers which have been added to cell_view .
|
|
|
|
|
||||||||||||
|
Sets requisition to the size needed by cell_view to display the model row pointed to by path .
|
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::CellLayout. |
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::CellLayout. |
|
|
Sets the background color of view .
|
|
|
Sets the row of the model that is currently displayed by the Gtk::CellView. If the path is unset, then the contents of the cellview "stick" at their last value; this is not normally a desired result, but may be a needed intermediate state if say, the model for the Gtk::CellView becomes temporarily empty.
|
|
|
Sets the model for cell_view .
If cell_view already has a model set, it will remove it before setting the new model. If model is
|
|
||||||||||||
|
|