Gtk.CellAreaBox¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | Gtk.CellArea (42), GObject.Object (37), Gtk.Buildable (10), Gtk.CellLayout (9), Gtk.Orientable (2) | 
|---|---|
| Structs: | Gtk.CellAreaClass (3), GObject.ObjectClass (5) | 
| class | new() | 
| get_spacing() | |
| pack_end(renderer, expand, align, fixed) | |
| pack_start(renderer, expand, align, fixed) | |
| set_spacing(spacing) | 
Virtual Methods¶
| Inherited: | Gtk.CellArea (19), GObject.Object (7), Gtk.Buildable (10), Gtk.CellLayout (9) | 
|---|
Properties¶
| Inherited: | Gtk.CellArea (3), Gtk.Orientable (1) | 
|---|
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| spacing | int | r/w/en | Space which is inserted between cells | 
Signals¶
| Inherited: | Gtk.CellArea (4), GObject.Object (1) | 
|---|
Fields¶
| Inherited: | Gtk.CellArea (4), GObject.Object (1) | 
|---|
| Name | Type | Access | Description | 
|---|---|---|---|
| parent_instance | Gtk.CellArea | r | 
Class Details¶
- 
class Gtk.CellAreaBox(**kwargs)¶
- Bases: - Gtk.CellArea,- Gtk.Orientable- Abstract: - No - Structure: - Gtk.CellAreaBoxClass- The - Gtk.CellAreaBoxrenders cell renderers into a row or a column depending on its- Gtk.Orientation.- Gtk.CellAreaBoxuses a notion of packing. Packing refers to adding cell renderers with reference to a particular position in a- Gtk.CellAreaBox. There are two reference positions: the start and the end of the box. When the- Gtk.CellAreaBoxis oriented in the- Gtk.Orientation.VERTICALorientation, the start is defined as the top of the box and the end is defined as the bottom. In the- Gtk.Orientation.HORIZONTALorientation start is defined as the left side and the end is defined as the right side.- Alignments of - Gtk.CellRenderersrendered in adjacent rows can be configured by configuring the- Gtk.CellAreaBoxalign child cell property with- Gtk.CellArea.cell_set_property() or by specifying the “align” argument to- Gtk.CellAreaBox.pack_start() and- Gtk.CellAreaBox.pack_end().- 
classmethod new()[source]¶
- Returns: - a newly created - Gtk.CellAreaBox- Return type: - Gtk.CellArea- Creates a new - Gtk.CellAreaBox.- New in version 3.0. 
 - 
get_spacing()[source]¶
- Returns: - the space added between cell renderers in self. - Return type: - int- Gets the spacing added between cell renderers. - New in version 3.0. 
 - 
pack_end(renderer, expand, align, fixed)[source]¶
- Parameters: - renderer (Gtk.CellRenderer) – theGtk.CellRendererto add
- expand (bool) – whether renderer should receive extra space when the area receives more than its natural size
- align (bool) – whether renderer should be aligned in adjacent rows
- fixed (bool) – whether renderer should have the same size in all rows
 - Adds renderer to self, packed with reference to the end of self. - The renderer is packed after (away from end of) any other - Gtk.CellRendererpacked with reference to the end of self.- New in version 3.0. 
- renderer (
 - 
pack_start(renderer, expand, align, fixed)[source]¶
- Parameters: - renderer (Gtk.CellRenderer) – theGtk.CellRendererto add
- expand (bool) – whether renderer should receive extra space when the area receives more than its natural size
- align (bool) – whether renderer should be aligned in adjacent rows
- fixed (bool) – whether renderer should have the same size in all rows
 - Adds renderer to self, packed with reference to the start of self. - The renderer is packed after any other - Gtk.CellRendererpacked with reference to the start of self.- New in version 3.0. 
- renderer (
 - 
set_spacing(spacing)[source]¶
- Parameters: - spacing ( - int) – the space to add between- Gtk.CellRenderers- Sets the spacing to add between cell renderers in self. - New in version 3.0. 
 
- 
classmethod