Index

Package: Set_Cell_Data_Func_User_Data (generic)

Description

generic
      type User_Data_Type (<>) is private;
      with procedure Destroy (Data : in out User_Data_Type) is null;
   package Set_Cell_Data_Func_User_Data is

Types

User_Data_Type

type User_Data_Type (<>) is private;

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;
         Data        : User_Data_Type);
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 "data": user data passed to Gtk.Cell_Layout.Set_Cell_Data_Func

Subprograms & Entries

Destroy

procedure Destroy 
(Data: in out User_Data_Type) is null;

Set_Cell_Data_Func

procedure Set_Cell_Data_Func 
(Cell_Layout: not null access Gtk.Cell_View.Gtk_Cell_View_Record'Class;
Cell: not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Func: Gtk_Cell_Layout_Data_Func;
Func_Data: User_Data_Type);
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 "func_data": user data for Func