Index

Package: Cell_Data_Functions (generic)

Description

generic
      type Data_Type (<>) is private;
   package Cell_Data_Functions is

Types

Data_Type

type Data_Type (<>) is private;

Cell_Data_Func

type Cell_Data_Func is access procedure
        (Cell_Layout : Gtk_Cell_Layout;
         Cell        : access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
         Model       : access Gtk.Tree_Model.Gtk_Tree_Model_Record'Class;
         Iter        : Gtk.Tree_Model.Gtk_Tree_Iter;
         Data        : Data_Type);

Destroy_Notify

type Destroy_Notify is access procedure (Data : in out Data_Type);
Free the memory used by Data

Subprograms & Entries

Set_Cell_Data_Func

procedure Set_Cell_Data_Func 
(Cell_Layout: Gtk_Cell_Layout;
Cell: access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Func: Cell_Data_Func;
Data: Data_Type;
Destroy: Destroy_Notify := null);
Same as the other Set_Cell_Data_Func, but passes an addition user data to the callback.