Index

Package: Generic_Set (generic)

Description

generic
   type Data_Type is private;
   package Generic_Set is

Types

Data_Type

type Data_Type is private;

Data_Type_Access

type Data_Type_Access is access all Data_Type;

Subprograms & Entries

Set

procedure Set 
(Tree_Store: access Gtk_Tree_Store_Record'Class;
Iter: Gtk.Tree_Model.Gtk_Tree_Iter;
Column: Gint;
Value: Data_Type_Access);
Generic procedure used to store access objects in the model. For GObject and all of its descendents (including all widgets), you should use the Set procedure below that takes a GObject as parameter. Please see the example at the end for more information on how to create your own Set procedures adapted to your model. Also consider using Set_Value for complex cases

Get

function Get 
(Tree_Store: access Gtk_Tree_Store_Record'Class;
Iter: Gtk.Tree_Model.Gtk_Tree_Iter;
Column: Gint) return Data_Type_Access;
Generic procedure used to get access objects back from the model. For GObject and all of its descendents (including all widgets), you should use the Get_Object function defined in Gtk-Tree_Model that returns a GObject.