Compilation Units
Tagged Types
procedure Destroy (Data : in out User_Data_Type)
procedure Gtk_New_User
(Self : out Gtk_Tree_List_Model;
Root : Glib.List_Model.Glist_Model;
Passthrough : Boolean;
Autoexpand : Boolean;
Create_Func : Gtk_Tree_List_Model_Create_Model_User_Func;
User_Data : User_Data_Type)
Creates a new empty GtkTreeListModel displaying Root with all rows collapsed. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The GListModel to use as root
True to pass through items from the models
True to set the autoexpand property and expand the Root model
function to call to create the GListModel for the children of an item
Data to pass to Create_Func
type Gtk_Tree_List_Model_Create_Model_User_Func is access function
(Item : Glib.Object.GObject; User_Data : User_Data_Type)
return Glib.List_Model.Glist_Model;
function Gtk_Tree_List_Model_New_User
(Root : Glib.List_Model.Glist_Model;
Passthrough : Boolean;
Autoexpand : Boolean;
Create_Func : Gtk_Tree_List_Model_Create_Model_User_Func;
User_Data : User_Data_Type)
return Gtk_Tree_List_Model
Creates a new empty GtkTreeListModel displaying Root with all rows collapsed.
The GListModel to use as root
True to pass through items from the models
True to set the autoexpand property and expand the Root model
function to call to create the GListModel for the children of an item
Data to pass to Create_Func
procedure Initialize_User
(Self : not null access Gtk_Tree_List_Model_Record'Class;
Root : Glib.List_Model.Glist_Model;
Passthrough : Boolean;
Autoexpand : Boolean;
Create_Func : Gtk_Tree_List_Model_Create_Model_User_Func;
User_Data : User_Data_Type)
Creates a new empty GtkTreeListModel displaying Root with all rows collapsed. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The GListModel to use as root
True to pass through items from the models
True to set the autoexpand property and expand the Root model
function to call to create the GListModel for the children of an item
Data to pass to Create_Func
type User_Data_Type (<>) is private;