GtkCellView

A widget displaying a single row of a GtkTreeModel

A gtk.cell_view.CellView displays a single row of a gtk.tree_model.TreeModel using a gtk.cell_area.CellArea and gtk.cell_area_context.CellAreaContext. A gtk.cell_area_context.CellAreaContext can be provided to the gtk.cell_view.CellView at construction time in order to keep the cellview in context of a group of cell views, this ensures that the renderers displayed will be properly aligned with each other (like the aligned cells in the menus of gtk.combo_box.ComboBox).

gtk.cell_view.CellView is gtk.orientable.Orientable in order to decide in which orientation the underlying gtk.cell_area_context.CellAreaContext should be allocated. Taking the gtk.combo_box.ComboBox menu as an example, cellviews should be oriented horizontally if the menus are listed top-to-bottom and thus all share the same width but may have separate individual heights (left-to-right menus should be allocated vertically since they all share the same height but may have variable widths).

CSS nodes

GtkCellView has a single CSS node with name cellview.

More...
struct GtkCellView

Detailed Description

Deprecated: List views use widgets to display their contents. You can use gtk.box.Box instead