procedure Destroy (Data : in out User_Data_Type)
type Gtk_Tree_Model_Filter_Modify_Func is access procedure
(Model : Gtk.Tree_Model.Gtk_Tree_Model;
Iter : Gtk.Tree_Model.Gtk_Tree_Iter;
Value : in out Glib.Values.GValue;
Column : Glib.Gint;
Data : User_Data_Type);
A function which calculates display values from raw values in the model. It must fill Value with the display value for the column Column in the row indicated by Iter. Since this function is called for each data access, it's not a particularly efficient operation.
the Gtk.Tree_Model_Filter.Gtk_Tree_Model_Filter
a Gtk.Tree_Model.Gtk_Tree_Iter pointing to the row whose display values are determined
A Glib.Values.GValue which is already initialized for with the correct type for the column Column.
the column whose display value is determined
user data given to Gtk.Tree_Model_Filter.Set_Modify_Func
procedure Set_Modify_Func
(Self : not null access Gtk.Tree_Model_Filter.Gtk_Tree_Model_Filter_Record'Class;
Types : Glib.GType_Array;
Func : Gtk_Tree_Model_Filter_Modify_Func;
Data : User_Data_Type)
With the N_Columns and Types parameters, you give an array of column types for this model (which will be exposed to the parent model/view). The Func, Data and Destroy parameters are for specifying the modify function. The modify function will get called for each data access, the goal of the modify function is to return the data which should be displayed at the location specified using the parameters of the modify function. Note that Gtk.Tree_Model_Filter.Set_Modify_Func can only be called once for a given filter model. Since: gtk+ 2.4
The GTypes of the columns.
A Gtk_Tree_Model_Filter_Modify_Func
User data to pass to the modify function, or null.
type User_Data_Type (<>) is private;