1. ----------------------------------------------------------------------- 
  2. --          GtkAda - Ada95 binding for the Gimp Toolkit              -- 
  3. --                                                                   -- 
  4. --                     Copyright (C) 2008, AdaCore                   -- 
  5. --                                                                   -- 
  6. -- This library is free software; you can redistribute it and/or     -- 
  7. -- modify it under the terms of the GNU General Public               -- 
  8. -- License as published by the Free Software Foundation; either      -- 
  9. -- version 2 of the License, or (at your option) any later version.  -- 
  10. --                                                                   -- 
  11. -- This library is distributed in the hope that it will be useful,   -- 
  12. -- but WITHOUT ANY WARRANTY; without even the implied warranty of    -- 
  13. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU -- 
  14. -- General Public License for more details.                          -- 
  15. --                                                                   -- 
  16. -- You should have received a copy of the GNU General Public         -- 
  17. -- License along with this library; if not, write to the             -- 
  18. -- Free Software Foundation, Inc., 59 Temple Place - Suite 330,      -- 
  19. -- Boston, MA 02111-1307, USA.                                       -- 
  20. --                                                                   -- 
  21. -- -- -- -- -- -- -- -- -- -- -- --
  22. ----------------------------------------------------------------------- 
  23.  
  24. package Gtk.Tree_Model.Utils is 
  25.  
  26.    function Init_Tree_Iter 
  27.      (Stamp       : Glib.Gint; 
  28.       User_Data_1 : System.Address := System.Null_Address; 
  29.       User_Data_2 : System.Address := System.Null_Address; 
  30.       User_Data_3 : System.Address := System.Null_Address) 
  31.       return Gtk.Tree_Model.Gtk_Tree_Iter; 
  32.  
  33.    function Is_Null (Self : Gtk.Tree_Model.Gtk_Tree_Iter) return Boolean; 
  34.    --  Returns True if specified iterator is null (its internal stamp equals 
  35.    --  to zero). 
  36.  
  37.    function Is_Valid 
  38.      (Self  : Gtk.Tree_Model.Gtk_Tree_Iter; 
  39.       Stamp : Glib.Gint) return Boolean; 
  40.    --  Returns True if specified iterator is null iterator or its internal 
  41.    --  stamp is equal to the specified stamp. 
  42.  
  43.    function Get_Stamp (Self : Gtk.Tree_Model.Gtk_Tree_Iter) return Glib.Gint; 
  44.  
  45.    function Get_User_Data_1 
  46.      (Self : Gtk.Tree_Model.Gtk_Tree_Iter) return System.Address; 
  47.  
  48.    function Get_User_Data_2 
  49.      (Self : Gtk.Tree_Model.Gtk_Tree_Iter) return System.Address; 
  50.  
  51.    function Get_User_Data_3 
  52.      (Self : Gtk.Tree_Model.Gtk_Tree_Iter) return System.Address; 
  53.  
  54. end Gtk.Tree_Model.Utils;