package Column_List is new Generic_List (Gtk.Tree_View_Column.Gtk_Tree_View_Column);
package Gtk_Tree_View_Column_Sizing_Properties is new Generic_Internal_Discrete_Property (Gtk_Tree_View_Column_Sizing);
package Implements_Gtk_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Tree_View_Column_Record, Gtk_Tree_View_Column);
package Implements_Gtk_Cell_Layout is new Glib.Types.Implements (Gtk.Cell_Layout.Gtk_Cell_Layout, Gtk_Tree_View_Column_Record, Gtk_Tree_View_Column);
type Gtk_Tree_View_Column_Record is new GObject_Record with null record;
type Gtk_Tree_View_Column is access all Gtk_Tree_View_Column_Record'Class;
type Gtk_Tree_View_Column_Sizing is ( Tree_View_Column_Grow_Only, Tree_View_Column_Autosize, Tree_View_Column_Fixed);
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);
type Property_Gtk_Tree_View_Column_Sizing is new Gtk_Tree_View_Column_Sizing_Properties.Property;
type Cb_Gtk_Tree_View_Column_Void is not null access procedure (Self : access Gtk_Tree_View_Column_Record'Class);
type Cb_GObject_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class);
Alignment_Property : constant Glib.Properties.Property_Float;
Cell_Area_Property : constant Glib.Properties.Property_Object;
Clickable_Property : constant Glib.Properties.Property_Boolean;
Expand_Property : constant Glib.Properties.Property_Boolean;
Fixed_Width_Property : constant Glib.Properties.Property_Int;
Max_Width_Property : constant Glib.Properties.Property_Int;
Min_Width_Property : constant Glib.Properties.Property_Int;
Reorderable_Property : constant Glib.Properties.Property_Boolean;
Resizable_Property : constant Glib.Properties.Property_Boolean;
Sizing_Property : constant Gtk.Tree_View_Column.Property_Gtk_Tree_View_Column_Sizing;
Sort_Column_Id_Property : constant Glib.Properties.Property_Int;
Sort_Indicator_Property : constant Glib.Properties.Property_Boolean;
Sort_Order_Property : constant Gtk.Enums.Property_Gtk_Sort_Type;
Spacing_Property : constant Glib.Properties.Property_Int;
Title_Property : constant Glib.Properties.Property_String;
Visible_Property : constant Glib.Properties.Property_Boolean;
Widget_Property : constant Glib.Properties.Property_Object;
Width_Property : constant Glib.Properties.Property_Int;
X_Offset_Property : constant Glib.Properties.Property_Int;
Signal_Clicked : constant Glib.Signal_Name := "clicked";
function Convert
( | R | : Gtk.Tree_View_Column.Gtk_Tree_View_Column) return System.Address; |
function Convert
( | R | : System.Address) return Gtk.Tree_View_Column.Gtk_Tree_View_Column; |
procedure Gtk_New
( | Tree_Column | : out Gtk_Tree_View_Column); |
procedure Initialize
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record'Class); |
function Gtk_Tree_View_Column_New return Gtk_Tree_View_Column;
procedure Gtk_New_With_Area
( | Tree_Column | : out Gtk_Tree_View_Column; |
Area | : not null access Gtk.Cell_Area.Gtk_Cell_Area_Record'Class); |
procedure Initialize_With_Area
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record'Class; |
Area | : not null access Gtk.Cell_Area.Gtk_Cell_Area_Record'Class); |
function Gtk_Tree_View_Column_New_With_Area
( | Area | : not null access Gtk.Cell_Area.Gtk_Cell_Area_Record'Class) return Gtk_Tree_View_Column; |
function Get_Type return Glib.GType;
procedure Cell_Get_Position
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Cell_Renderer | : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class; | |
X_Offset | : out Gint; | |
Width | : out Gint; | |
Success | : out Boolean); |
procedure Cell_Get_Size
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Cell_Area | : Gdk.Rectangle.Gdk_Rectangle; | |
X_Offset | : out Gint; | |
Y_Offset | : out Gint; | |
Width | : out Gint; | |
Height | : out Gint); |
function Cell_Is_Visible
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Boolean; |
procedure Cell_Set_Cell_Data
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Tree_Model | : Gtk.Tree_Model.Gtk_Tree_Model; | |
Iter | : Gtk.Tree_Model.Gtk_Tree_Iter; | |
Is_Expander | : Boolean; | |
Is_Expanded | : Boolean); |
procedure Clicked
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record); |
procedure Focus_Cell
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Cell | : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class); |
function Get_Alignment
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Gfloat; |
procedure Set_Alignment
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Xalign | : Gfloat); |
function Get_Button
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Gtk.Widget.Gtk_Widget; |
function Get_Clickable
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Boolean; |
procedure Set_Clickable
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Clickable | : Boolean); |
function Get_Expand
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Boolean; |
procedure Set_Expand
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Expand | : Boolean); |
function Get_Fixed_Width
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Gint; |
procedure Set_Fixed_Width
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Fixed_Width | : Gint); |
function Get_Max_Width
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Gint; |
procedure Set_Max_Width
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Max_Width | : Gint); |
function Get_Min_Width
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Gint; |
procedure Set_Min_Width
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Min_Width | : Gint); |
function Get_Reorderable
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Boolean; |
procedure Set_Reorderable
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Reorderable | : Boolean); |
function Get_Resizable
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Boolean; |
procedure Set_Resizable
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Resizable | : Boolean); |
function Get_Sizing
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Gtk_Tree_View_Column_Sizing; |
procedure Set_Sizing
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
The_Type | : Gtk_Tree_View_Column_Sizing); |
function Get_Sort_Column_Id
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Gint; |
procedure Set_Sort_Column_Id
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Sort_Column_Id | : Gint); |
function Get_Sort_Indicator
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Boolean; |
procedure Set_Sort_Indicator
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Setting | : Boolean); |
function Get_Sort_Order
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Gtk.Enums.Gtk_Sort_Type; |
procedure Set_Sort_Order
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Order | : Gtk.Enums.Gtk_Sort_Type); |
function Get_Spacing
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Gint; |
procedure Set_Spacing
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Spacing | : Gint); |
function Get_Title
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return UTF8_String; |
procedure Set_Title
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Title | : UTF8_String); |
function Get_Tree_View
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Gtk.Widget.Gtk_Widget; |
function Get_Visible
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Boolean; |
procedure Set_Visible
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Visible | : Boolean); |
function Get_Widget
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Gtk.Widget.Gtk_Widget; |
procedure Set_Widget
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record; |
Widget | : access Gtk.Widget.Gtk_Widget_Record'Class); |
function Get_Width
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Gint; |
function Get_X_Offset
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record) return Gint; |
procedure Queue_Resize
( | Tree_Column | : not null access Gtk_Tree_View_Column_Record); |
procedure Set_Cell_Data_Func
( | Cell_Layout | : not null access Gtk_Tree_View_Column_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_Tree_View_Column_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_Tree_View_Column_Record); |
procedure Clear_Attributes
( | Cell_Layout | : not null access Gtk_Tree_View_Column_Record; |
Cell | : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class); |
function Get_Cells
( | Cell_Layout | : not null access Gtk_Tree_View_Column_Record) return Glib.Object.Object_Simple_List.Glist; |
procedure Pack_End
( | Cell_Layout | : not null access Gtk_Tree_View_Column_Record; |
Cell | : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class; | |
Expand | : Boolean); |
procedure Pack_Start
( | Cell_Layout | : not null access Gtk_Tree_View_Column_Record; |
Cell | : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class; | |
Expand | : Boolean); |
procedure Reorder
( | Cell_Layout | : not null access Gtk_Tree_View_Column_Record; |
Cell | : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class; | |
Position | : Gint); |
procedure On_Clicked
( | Self | : not null access Gtk_Tree_View_Column_Record; |
Call | : Cb_Gtk_Tree_View_Column_Void; | |
After | : Boolean := False); |
procedure On_Clicked
( | Self | : not null access Gtk_Tree_View_Column_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
function "+"
( | Widget | : access Gtk_Tree_View_Column_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Gtk_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Tree_View_Column renames Implements_Gtk_Buildable.To_Object; |
function "+"
( | Widget | : access Gtk_Tree_View_Column_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_Tree_View_Column renames Implements_Gtk_Cell_Layout.To_Object; |
The GtkTreeViewColumn object represents a visible column in a Gtk.Tree_View.Gtk_Tree_View widget. It allows to set properties of the column header, and functions as a holding pen for the cell renderers which determine how the data in the column is displayed.
Please refer to the <link linkend="TreeWidget">tree widget conceptual overview</link> for an overview of all the objects and data types related to the tree widget and how they work together.