Compilation Units
Tagged Types
Sorts items via a callback function.
function Get_Type return Glib.GType
type Gtk_Custom_Sorter is access all Gtk_Custom_Sorter_Record'Class;
function Gtk_Custom_Sorter_New
(Sort_Func : Glib.List_Store.Compare_Data_Func)
return Gtk_Custom_Sorter
Creates a new GtkSorter that works by calling Sort_Func to compare items. If Sort_Func is null, all items are considered equal.
the GCompareDataFunc to use for sorting
type Gtk_Custom_Sorter_Record is new Gtk_Sorter_Record with null record;
procedure Gtk_New
(Self : out Gtk_Custom_Sorter;
Sort_Func : Glib.List_Store.Compare_Data_Func)
Creates a new GtkSorter that works by calling Sort_Func to compare items. If Sort_Func is null, all items are considered equal. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
the GCompareDataFunc to use for sorting
procedure Initialize
(Self : not null access Gtk_Custom_Sorter_Record'Class;
Sort_Func : Glib.List_Store.Compare_Data_Func)
Creates a new GtkSorter that works by calling Sort_Func to compare items. If Sort_Func is null, all items are considered equal. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
the GCompareDataFunc to use for sorting
procedure Set_Sort_Func
(Self : not null access Gtk_Custom_Sorter_Record;
Sort_Func : Glib.List_Store.Compare_Data_Func)
Sets (or unsets) the function used for sorting items. If Sort_Func is null, all items are considered equal. If the sort func changes its sorting behavior, Gtk.Sorter.Changed needs to be called.
function to sort items