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);
type Gtk_Cell_Area_Box_Record is new Gtk_Cell_Area_Record with null record;
type Gtk_Cell_Area_Box is access all Gtk_Cell_Area_Box_Record'Class;
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);
Spacing_Property : constant Glib.Properties.Property_Int;
procedure Gtk_New
( | Self | : out Gtk_Cell_Area_Box); |
procedure Initialize
( | Self | : not null access Gtk_Cell_Area_Box_Record'Class); |
function Gtk_Cell_Area_Box_New return Gtk_Cell_Area_Box;
function Get_Type return Glib.GType;
function Get_Spacing
( | Self | : not null access Gtk_Cell_Area_Box_Record) return Gint; |
procedure Set_Spacing
( | Self | : not null access Gtk_Cell_Area_Box_Record; |
Spacing | : Gint); |
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); |
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); |
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); |
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 | : 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 Glib.Object.Object_Simple_List.Glist; |
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_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 Reorder
( | Cell_Layout | : not null access Gtk_Cell_Area_Box_Record; |
Cell | : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class; | |
Position | : Gint); |
function Get_Orientation
( | Self | : not null access Gtk_Cell_Area_Box_Record) return Gtk.Enums.Gtk_Orientation; |
procedure Set_Orientation
( | Self | : not null access Gtk_Cell_Area_Box_Record; |
Orientation | : Gtk.Enums.Gtk_Orientation); |
function "+"
( | Widget | : access Gtk_Cell_Area_Box_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Gtk_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Cell_Area_Box renames Implements_Gtk_Buildable.To_Object; |
function "+"
( | Widget | : access Gtk_Cell_Area_Box_Record'Class) return Gtk.Cell_Layout.Gtk_Cell_Layout renames Implements_Gtk_Cell_Layout.To_Interface; |
function "-"
( | Interf | : Gtk.Cell_Layout.Gtk_Cell_Layout) return Gtk_Cell_Area_Box renames Implements_Gtk_Cell_Layout.To_Object; |
function "+"
( | Widget | : access Gtk_Cell_Area_Box_Record'Class) return Gtk.Orientable.Gtk_Orientable renames Implements_Gtk_Orientable.To_Interface; |
function "-"
( | Interf | : Gtk.Orientable.Gtk_Orientable) return Gtk_Cell_Area_Box renames Implements_Gtk_Orientable.To_Object; |
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.