Index

Package: Cell_Area_Box

Description

package Gtk.Cell_Area_Box is

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.

Packages

Set_Cell_Data_Func_User_Data (generic)

Implements_Gtk_Buildable (new Glib.Types.Implements)

Implements_Gtk_Cell_Layout (new Glib.Types.Implements)

Implements_Gtk_Orientable (new Glib.Types.Implements)

Classes

Gtk_Cell_Area_Box_Record

type Gtk_Cell_Area_Box_Record is new Gtk_Cell_Area_Record with null record;

Ancestors:

Primitive operations:

Add_Attribute
Clear_Attributes
Get_Orientation
Glib.Object.Deallocate (Inherited)
Glib.Object.Get_Type (Inherited)
Glib.Object.Notify (Inherited)
Glib.Object.Ref (Inherited)
Glib.Object.Ref_Sink (Inherited)
Glib.Object.Unref (Inherited)
Gtk.Cell_Area.Activate (Inherited)
Gtk.Cell_Area.Activate_Cell (Inherited)
Gtk.Cell_Area.Add (Inherited)
Gtk.Cell_Area.Add_Attribute (Inherited)
Gtk.Cell_Area.Add_Focus_Sibling (Inherited)
Gtk.Cell_Area.Apply_Attributes (Inherited)
Gtk.Cell_Area.Attribute_Connect (Inherited)
Gtk.Cell_Area.Attribute_Disconnect (Inherited)
Gtk.Cell_Area.Cell_Get_Property (Inherited)
Gtk.Cell_Area.Cell_Set_Property (Inherited)
Gtk.Cell_Area.Clear (Inherited)
Gtk.Cell_Area.Clear_Attributes (Inherited)
Gtk.Cell_Area.Copy_Context (Inherited)
Gtk.Cell_Area.Create_Context (Inherited)
Gtk.Cell_Area.Event (Inherited)
Gtk.Cell_Area.Focus (Inherited)
Gtk.Cell_Area.Foreach (Inherited)
Gtk.Cell_Area.Foreach_Alloc (Inherited)
Gtk.Cell_Area.Get_Cell_Allocation (Inherited)
Gtk.Cell_Area.Get_Cell_At_Position (Inherited)
Gtk.Cell_Area.Get_Cells (Inherited)
Gtk.Cell_Area.Get_Current_Path_String (Inherited)
Gtk.Cell_Area.Get_Edit_Widget (Inherited)
Gtk.Cell_Area.Get_Edited_Cell (Inherited)
Gtk.Cell_Area.Get_Focus_Cell (Inherited)
Gtk.Cell_Area.Get_Focus_From_Sibling (Inherited)
Gtk.Cell_Area.Get_Focus_Siblings (Inherited)
Gtk.Cell_Area.Get_Preferred_Height (Inherited)
Gtk.Cell_Area.Get_Preferred_Height_For_Width (Inherited)
Gtk.Cell_Area.Get_Preferred_Width (Inherited)
Gtk.Cell_Area.Get_Preferred_Width_For_Height (Inherited)
Gtk.Cell_Area.Get_Request_Mode (Inherited)
Gtk.Cell_Area.Has_Renderer (Inherited)
Gtk.Cell_Area.Inner_Cell_Area (Inherited)
Gtk.Cell_Area.Is_Activatable (Inherited)
Gtk.Cell_Area.Is_Focus_Sibling (Inherited)
Gtk.Cell_Area.On_Add_Editable (Inherited)
Gtk.Cell_Area.On_Add_Editable (Inherited)
Gtk.Cell_Area.On_Add_Editable (Inherited)
Gtk.Cell_Area.On_Apply_Attributes (Inherited)
Gtk.Cell_Area.On_Apply_Attributes (Inherited)
Gtk.Cell_Area.On_Apply_Attributes (Inherited)
Gtk.Cell_Area.On_Apply_Attributes (Inherited)
Gtk.Cell_Area.On_Focus_Changed (Inherited)
Gtk.Cell_Area.On_Focus_Changed (Inherited)
Gtk.Cell_Area.On_Focus_Changed (Inherited)
Gtk.Cell_Area.On_Focus_Changed (Inherited)
Gtk.Cell_Area.On_Remove_Editable (Inherited)
Gtk.Cell_Area.On_Remove_Editable (Inherited)
Gtk.Cell_Area.On_Remove_Editable (Inherited)
Gtk.Cell_Area.On_Remove_Editable (Inherited)
Gtk.Cell_Area.Pack_End (Inherited)
Gtk.Cell_Area.Pack_Start (Inherited)
Gtk.Cell_Area.Remove (Inherited)
Gtk.Cell_Area.Remove_Focus_Sibling (Inherited)
Gtk.Cell_Area.Render (Inherited)
Gtk.Cell_Area.Reorder (Inherited)
Gtk.Cell_Area.Request_Renderer (Inherited)
Gtk.Cell_Area.Set_Cell_Data_Func (Inherited)
Gtk.Cell_Area.Set_Focus_Cell (Inherited)
Gtk.Cell_Area.Stop_Editing (Inherited)
Set_Cell_Data_Func
Set_Orientation

Types

Gtk_Cell_Area_Box

type Gtk_Cell_Area_Box is access all Gtk_Cell_Area_Box_Record'Class;

Gtk_Cell_Layout_Data_Func

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. "cell_layout": a Gtk.Cell_Layout.Gtk_Cell_Layout "cell": the cell renderer whose value is to be set "tree_model": the model "iter": a Gtk.Tree_Model.Gtk_Tree_Iter indicating the row to set the value for

Constants & Global variables

Spacing_Property (Glib.Properties.Property_Int)

Spacing_Property : constant Glib.Properties.Property_Int;
The amount of space to reserve between cells.

Subprograms & Entries

Gtk_New

procedure Gtk_New 
(Self: out Gtk_Cell_Area_Box);

Initialize

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

Gtk_Cell_Area_Box_New

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

Get_Type

function Get_Type return Glib.GType;

Get_Spacing

function Get_Spacing 
(Self: not null access Gtk_Cell_Area_Box_Record) return Gint;
Gets the spacing added between cell renderers. Since: gtk+ 3.0

Set_Spacing

procedure Set_Spacing 
(Self: not null access Gtk_Cell_Area_Box_Record;
Spacing: Gint);
Sets the spacing to add between cell renderers in Box. Since: gtk+ 3.0 "spacing": the space to add between Gtk_Cell_Renderers

Pack_End

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 "renderer": the Gtk.Cell_Renderer.Gtk_Cell_Renderer to add "expand": whether Renderer should receive extra space when the area receives more than its natural size "align": whether Renderer should be aligned in adjacent rows "fixed": whether Renderer should have the same size in all rows

Pack_Start

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 "renderer": the Gtk.Cell_Renderer.Gtk_Cell_Renderer to add "expand": whether Renderer should receive extra space when the area receives more than its natural size "align": whether Renderer should be aligned in adjacent rows "fixed": whether Renderer should have the same size in all rows

Set_Cell_Data_Func

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 "cell": a Gtk.Cell_Renderer.Gtk_Cell_Renderer "func": the Gtk_Cell_Layout_Data_Func to use, or null

Add_Attribute

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);

Clear

procedure Clear 
(Cell_Layout: not null access Gtk_Cell_Area_Box_Record);

Clear_Attributes

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);

Get_Cells

function Get_Cells 
(Cell_Layout: not null access Gtk_Cell_Area_Box_Record) return Glib.Object.Object_Simple_List.Glist;

Pack_End

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);

Pack_Start

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);

Reorder

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);

Get_Orientation

function Get_Orientation 
(Self: not null access Gtk_Cell_Area_Box_Record) return Gtk.Enums.Gtk_Orientation;

Set_Orientation

procedure Set_Orientation 
(Self: not null access Gtk_Cell_Area_Box_Record;
Orientation: Gtk.Enums.Gtk_Orientation);