:right-sidebar: True CellAreaBox =================================================================== .. currentmodule:: gi.repository.Gtk .. deprecated:: 4.10 List views use widgets for displaying their contents .. class:: CellAreaBox(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.CellArea`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gtk.Buildable`, :class:`~gi.repository.Gtk.CellLayout`, :class:`~gi.repository.Gtk.Orientable` :Constructors: :: CellAreaBox(**properties) new() -> Gtk.CellArea Constructors ------------ .. rst-class:: interim-class .. class:: CellAreaBox :no-index: .. classmethod:: new() -> ~gi.repository.Gtk.CellArea Creates a new ``GtkCellAreaBox``. .. deprecated:: 4.10 Please do not use it in newly written code Methods ------- .. rst-class:: interim-class .. class:: CellAreaBox :no-index: .. method:: get_spacing() -> int Gets the spacing added between cell renderers. .. deprecated:: 4.10 Please do not use it in newly written code .. method:: pack_end(renderer: ~gi.repository.Gtk.CellRenderer, expand: bool, align: bool, fixed: bool) -> None Adds ``renderer`` to ``box``, packed with reference to the end of ``box``. The ``renderer`` is packed after (away from end of) any other ``GtkCellRenderer`` packed with reference to the end of ``box``. .. deprecated:: 4.10 Please do not use it in newly written code :param renderer: the ``GtkCellRenderer`` to add :param expand: whether ``renderer`` should receive extra space when the area receives more than its natural size :param align: whether ``renderer`` should be aligned in adjacent rows :param fixed: whether ``renderer`` should have the same size in all rows .. method:: pack_start(renderer: ~gi.repository.Gtk.CellRenderer, expand: bool, align: bool, fixed: bool) -> None Adds ``renderer`` to ``box``, packed with reference to the start of ``box``. The ``renderer`` is packed after any other ``GtkCellRenderer`` packed with reference to the start of ``box``. .. deprecated:: 4.10 Please do not use it in newly written code :param renderer: the ``GtkCellRenderer`` to add :param expand: whether ``renderer`` should receive extra space when the area receives more than its natural size :param align: whether ``renderer`` should be aligned in adjacent rows :param fixed: whether ``renderer`` should have the same size in all rows .. method:: set_spacing(spacing: int) -> None Sets the spacing to add between cell renderers in ``box``. .. deprecated:: 4.10 Please do not use it in newly written code :param spacing: the space to add between ``GtkCellRenderer``'s Properties ---------- .. rst-class:: interim-class .. class:: CellAreaBox :no-index: .. attribute:: props.spacing :type: int The amount of space to reserve between cells.