type Gtk_Cell_Area_Context_Record is new GObject_Record with null record;
type Gtk_Cell_Area_Context is access all Gtk_Cell_Area_Context_Record'Class;
Area_Property : constant Glib.Properties.Property_Object;
Minimum_Height_Property : constant Glib.Properties.Property_Int;
Minimum_Width_Property : constant Glib.Properties.Property_Int;
Natural_Height_Property : constant Glib.Properties.Property_Int;
Natural_Width_Property : constant Glib.Properties.Property_Int;
function Get_Type return Glib.GType;
procedure Allocate
( | Self | : not null access Gtk_Cell_Area_Context_Record; |
Width | : Gint; | |
Height | : Gint); |
procedure Get_Allocation
( | Self | : not null access Gtk_Cell_Area_Context_Record; |
Width | : out Gint; | |
Height | : out Gint); |
procedure Get_Preferred_Height
( | Self | : not null access Gtk_Cell_Area_Context_Record; |
Minimum_Height | : out Gint; | |
Natural_Height | : out Gint); |
procedure Get_Preferred_Height_For_Width
( | Self | : not null access Gtk_Cell_Area_Context_Record; |
Width | : Gint; | |
Minimum_Height | : out Gint; | |
Natural_Height | : out Gint); |
procedure Get_Preferred_Width
( | Self | : not null access Gtk_Cell_Area_Context_Record; |
Minimum_Width | : out Gint; | |
Natural_Width | : out Gint); |
procedure Get_Preferred_Width_For_Height
( | Self | : not null access Gtk_Cell_Area_Context_Record; |
Height | : Gint; | |
Minimum_Width | : out Gint; | |
Natural_Width | : out Gint); |
procedure Push_Preferred_Height
( | Self | : not null access Gtk_Cell_Area_Context_Record; |
Minimum_Height | : Gint; | |
Natural_Height | : Gint); |
procedure Push_Preferred_Width
( | Self | : not null access Gtk_Cell_Area_Context_Record; |
Minimum_Width | : Gint; | |
Natural_Width | : Gint); |
procedure Reset
( | Self | : not null access Gtk_Cell_Area_Context_Record); |
The Gtk.Cell_Area_Context.Gtk_Cell_Area_Context object is created by a given Gtk.Cell_Area.Gtk_Cell_Area implementation via its Gtk.Cell_Area_Class.Gtk_Cell_Area_Class.create_context virtual method and is used to store cell sizes and alignments for a series of Gtk.Tree_Model.Gtk_Tree_Model rows that are requested and rendered in the same context.
Gtk.Cell_Layout.Gtk_Cell_Layout widgets can create any number of contexts in which to request and render groups of data rows. However, it's important that the same context which was used to request sizes for a given Gtk.Tree_Model.Gtk_Tree_Model row also be used for the same row when calling other Gtk.Cell_Area.Gtk_Cell_Area APIs such as Gtk.Cell_Area.Render and Gtk.Cell_Area.Event.