The Gtk.Cell_Area_Box.Gtk_Cell_Area_Box renders cell renderers into a row or a column depending on its Gtk.Enums.Gtk_Orientation.
GtkCellAreaBox uses a notion of packing. Packing refers to adding cell renderers with reference to a particular position in a Gtk.Cell_Area_Box.Gtk_Cell_Area_Box. There are two reference positions: the start and the end of the box. When the Gtk.Cell_Area_Box.Gtk_Cell_Area_Box is oriented in the Gtk.Enums.Orientation_Vertical orientation, the start is defined as the top of the box and the end is defined as the bottom. In the Gtk.Enums.Orientation_Horizontal orientation start is defined as the left side and the end is defined as the right side.
Alignments of Gtk_Cell_Renderers rendered in adjacent rows can be configured by configuring the Gtk.Cell_Area_Box.Gtk_Cell_Area_Box align child cell property with Gtk.Cell_Area.Cell_Set_Property or by specifying the "align" argument to Gtk.Cell_Area_Box.Pack_Start and Gtk.Cell_Area_Box.Pack_End.
function "+"
(Widget : access Gtk_Cell_Area_Box_Record'Class)
return Gtk.Buildable.Gtk_Buildable
function "+"
(Widget : access Gtk_Cell_Area_Box_Record'Class)
return Gtk.Cell_Layout.Gtk_Cell_Layout
function "+"
(Widget : access Gtk_Cell_Area_Box_Record'Class)
return Gtk.Orientable.Gtk_Orientable
function "-"
(Interf : Gtk.Buildable.Gtk_Buildable)
return Gtk_Cell_Area_Box
function "-"
(Interf : Gtk.Cell_Layout.Gtk_Cell_Layout)
return Gtk_Cell_Area_Box
function "-"
(Interf : Gtk.Orientable.Gtk_Orientable)
return Gtk_Cell_Area_Box
procedure Add_Attribute
(Cell_Layout : not null access Gtk_Cell_Area_Box_Record;
Cell : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Attribute : UTF8_String;
Column : Glib.Gint)
procedure Clear (Cell_Layout : not null access Gtk_Cell_Area_Box_Record)
procedure Clear_Attributes
(Cell_Layout : not null access Gtk_Cell_Area_Box_Record;
Cell : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class)
function Get_Cells
(Cell_Layout : not null access Gtk_Cell_Area_Box_Record)
return Gtk.Cell_Renderer.Cell_Renderer_List.Glist
function Get_Orientation
(Self : not null access Gtk_Cell_Area_Box_Record)
return Gtk.Enums.Gtk_Orientation
function Get_Spacing
(Self : not null access Gtk_Cell_Area_Box_Record) return Glib.Gint
Gets the spacing added between cell renderers. Since: gtk+ 3.0
the space added between cell renderers in Box.
function Get_Type return Glib.GType
type Gtk_Cell_Area_Box is access all Gtk_Cell_Area_Box_Record'Class;
function Gtk_Cell_Area_Box_New return Gtk_Cell_Area_Box
Creates a new Gtk.Cell_Area_Box.Gtk_Cell_Area_Box. Since: gtk+ 3.0
type Gtk_Cell_Area_Box_Record is new Gtk_Cell_Area_Record with null record;
type Gtk_Cell_Layout_Data_Func is access procedure
(Cell_Layout : Gtk.Cell_Layout.Gtk_Cell_Layout;
Cell : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Tree_Model : Gtk.Tree_Model.Gtk_Tree_Model;
Iter : Gtk.Tree_Model.Gtk_Tree_Iter);
A function which should set the value of Cell_Layout's cell renderer(s) as appropriate.
a Gtk.Cell_Layout.Gtk_Cell_Layout
the cell renderer whose value is to be set
the model
a Gtk.Tree_Model.Gtk_Tree_Iter indicating the row to set the value for
procedure Gtk_New (Self : out Gtk_Cell_Area_Box)
Creates a new Gtk.Cell_Area_Box.Gtk_Cell_Area_Box. Since: gtk+ 3.0 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
package Implements_Gtk_Buildable is new Glib.Types.Implements
(Gtk.Buildable.Gtk_Buildable, Gtk_Cell_Area_Box_Record, Gtk_Cell_Area_Box);
package Implements_Gtk_Cell_Layout is new Glib.Types.Implements
(Gtk.Cell_Layout.Gtk_Cell_Layout, Gtk_Cell_Area_Box_Record, Gtk_Cell_Area_Box);
package Implements_Gtk_Orientable is new Glib.Types.Implements
(Gtk.Orientable.Gtk_Orientable, Gtk_Cell_Area_Box_Record, Gtk_Cell_Area_Box);
procedure Initialize
(Self : not null access Gtk_Cell_Area_Box_Record'Class)
Creates a new Gtk.Cell_Area_Box.Gtk_Cell_Area_Box. Since: gtk+ 3.0 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
procedure Pack_End
(Cell_Layout : not null access Gtk_Cell_Area_Box_Record;
Cell : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Expand : Boolean)
procedure Pack_End
(Self : not null access Gtk_Cell_Area_Box_Record;
Renderer : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Expand : Boolean;
Align : Boolean;
Fixed : Boolean)
Adds Renderer to Box, packed with reference to the end of Box. The Renderer is packed after (away from end of) any other Gtk.Cell_Renderer.Gtk_Cell_Renderer packed with reference to the end of Box. Since: gtk+ 3.0
the Gtk.Cell_Renderer.Gtk_Cell_Renderer to add
whether Renderer should receive extra space when the area receives more than its natural size
whether Renderer should be aligned in adjacent rows
whether Renderer should have the same size in all rows
procedure Pack_Start
(Cell_Layout : not null access Gtk_Cell_Area_Box_Record;
Cell : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Expand : Boolean)
procedure Pack_Start
(Self : not null access Gtk_Cell_Area_Box_Record;
Renderer : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Expand : Boolean;
Align : Boolean;
Fixed : Boolean)
Adds Renderer to Box, packed with reference to the start of Box. The Renderer is packed after any other Gtk.Cell_Renderer.Gtk_Cell_Renderer packed with reference to the start of Box. Since: gtk+ 3.0
the Gtk.Cell_Renderer.Gtk_Cell_Renderer to add
whether Renderer should receive extra space when the area receives more than its natural size
whether Renderer should be aligned in adjacent rows
whether Renderer should have the same size in all rows
procedure Reorder
(Cell_Layout : not null access Gtk_Cell_Area_Box_Record;
Cell : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Position : Glib.Gint)
procedure Set_Cell_Data_Func
(Cell_Layout : not null access Gtk_Cell_Area_Box_Record;
Cell : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Func : Gtk_Cell_Layout_Data_Func)
Sets the Gtk_Cell_Layout_Data_Func to use for Cell_Layout. This function is used instead of the standard attributes mapping for setting the column value, and should set the value of Cell_Layout's cell renderer(s) as appropriate. Func may be null to remove a previously set function. Since: gtk+ 2.4
a Gtk.Cell_Renderer.Gtk_Cell_Renderer
the Gtk_Cell_Layout_Data_Func to use, or null
procedure Set_Orientation
(Self : not null access Gtk_Cell_Area_Box_Record;
Orientation : Gtk.Enums.Gtk_Orientation)
procedure Set_Spacing
(Self : not null access Gtk_Cell_Area_Box_Record;
Spacing : Glib.Gint)
Sets the spacing to add between cell renderers in Box. Since: gtk+ 3.0
the space to add between Gtk_Cell_Renderers
Spacing_Property : constant Glib.Properties.Property_Int;
The amount of space to reserve between cells.