Gtk.Tree_Store.Generic_Set

Entities

Generic formal parameters

Access Types

Subprograms

Description

-------------------- GtkAda additions -- --------------------

Data_Type

type Data_Type is private;

Data_Type_Access

type Data_Type_Access is access all Data_Type;

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.

Parameters
Tree_Store
Iter
Column
Return Value

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

Parameters
Tree_Store
Iter
Column
Value