You can use gtk.box.Box instead
gtk.cell_view
Module for [CellView] class
Types 3
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.
Deprecated
CellViewGidBuilder builder() static nothrowGet builder for [gtk.cell_view.CellView] Returns: New builder objectgtk.cell_area.CellArea cellArea() @property nothrowGet `cellArea` property. Returns: The [gtk.cell_area.CellArea] rendering cellsgtk.cell_area_context.CellAreaContext cellAreaContext() @property nothrowGet `cellAreaContext` property. Returns: The [gtk.cell_area_context.CellAreaContext] used to compute the geometry of the cell view.bool drawSensitive() @property nothrowGet `drawSensitive` property. Returns: Whether all cells should be draw as sensitive for this view regardless of the actual cell properties (used to make menus with submenus appear sensitive when t...void drawSensitive(bool propval) @property nothrowSet `drawSensitive` property. Params: propval = Whether all cells should be draw as sensitive for this view regardless of the actual cell properties (used to make menus with submenus appear sensiti...bool fitModel() @property nothrowGet `fitModel` property. Returns: Whether the view should request enough space to always fit the size of every row in the model (used by the combo box to ensure the combo box size doesn't change wh...void fitModel(bool propval) @property nothrowSet `fitModel` property. Params: propval = Whether the view should request enough space to always fit the size of every row in the model (used by the combo box to ensure the combo box size doesn't ...gtk.tree_model.TreeModel model() @property nothrowGet `model` property. Returns: The model for cell viewvoid model(gtk.tree_model.TreeModel propval) @property nothrowSet `model` property. Params: propval = The model for cell viewgtk.cell_view.CellView newWithContext(gtk.cell_area.CellArea area, gtk.cell_area_context.CellAreaContext context) static nothrowCreates a new [gtk.cell_view.CellView] widget with a specific [gtk.cell_area.CellArea] to layout cells and a specific [gtk.cell_area_context.CellAreaContext].gtk.cell_view.CellView newWithMarkup(string markup) static nothrowCreates a new [gtk.cell_view.CellView] widget, adds a [gtk.cell_renderer_text.CellRendererText] to it, and makes it show markup. The text can be marked up with the [Pango text markup language](http...gtk.cell_view.CellView newWithText(string text) static nothrowCreates a new [gtk.cell_view.CellView] widget, adds a [gtk.cell_renderer_text.CellRendererText] to it, and makes it show text.gtk.cell_view.CellView newWithTexture(gdk.texture.Texture texture) static nothrowCreates a new [gtk.cell_view.CellView] widget, adds a [gtk.cell_renderer_pixbuf.CellRendererPixbuf] to it, and makes it show texture.gtk.tree_path.TreePath getDisplayedRow() nothrowReturns a [gtk.tree_path.TreePath] referring to the currently displayed row. If no row is currently displayed, null is returned. Returns: the currently displayed rowbool getDrawSensitive() nothrowGets whether cell_view is configured to draw all of its cells in a sensitive state. Returns: whether cell_view draws all of its cells in a sensitive statebool getFitModel() nothrowGets whether cell_view is configured to request space to fit the entire [gtk.tree_model.TreeModel]. Returns: whether cell_view requests space to fit the entire [gtk.tree_model.TreeModel].gtk.tree_model.TreeModel getModel() nothrowReturns the model for cell_view. If no model is used null is returned. Returns: a [gtk.tree_model.TreeModel] usedvoid setDisplayedRow(gtk.tree_path.TreePath path = null) nothrowSets the row of the model that is currently displayed by the [gtk.cell_view.CellView]. If the path is unset, then the contents of the cellview “stick” at their last value; this is not normally ...void setDrawSensitive(bool drawSensitive) nothrowSets whether cell_view should draw all of its cells in a sensitive state, this is used by [gtk.combo_box.ComboBox] menus to ensure that rows with insensitive cells that contain children appear sens...void setFitModel(bool fitModel) nothrowSets whether cell_view should request space to fit the entire [gtk.tree_model.TreeModel].void setModel(gtk.tree_model.TreeModel model = null) nothrowSets 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 null, then it will unset the old model.Fluent builder implementation template for gtk.cell_view.CellView
T cellArea(gtk.cell_area.CellArea propval) nothrowSet `cellArea` property. Params: propval = The [gtk.cell_area.CellArea] rendering cellsT cellAreaContext(gtk.cell_area_context.CellAreaContext propval) nothrowSet `cellAreaContext` property. Params: propval = The [gtk.cell_area_context.CellAreaContext] used to compute the geometry of the cell view.T drawSensitive(bool propval) nothrowSet `drawSensitive` property. Params: propval = Whether all cells should be draw as sensitive for this view regardless of the actual cell properties (used to make menus with submenus appear sensiti...T fitModel(bool propval) nothrowSet `fitModel` property. Params: propval = Whether the view should request enough space to always fit the size of every row in the model (used by the combo box to ensure the combo box size doesn't ...T model(gtk.tree_model.TreeModel propval) nothrowSet `model` property. Params: propval = The model for cell viewFluent builder for gtk.cell_view.CellView