1. ------------------------------------------------------------------------------ 
  2. --               GtkAda - Ada95 binding for the Gimp Toolkit                -- 
  3. --                                                                          -- 
  4. --                     Copyright (C) 2008-2014, AdaCore                     -- 
  5. --                                                                          -- 
  6. -- This library is free software;  you can redistribute it and/or modify it -- 
  7. -- under terms of the  GNU General Public License  as published by the Free -- 
  8. -- Software  Foundation;  either version 3,  or (at your  option) any later -- 
  9. -- version. This library is distributed in the hope that it will be useful, -- 
  10. -- but WITHOUT ANY WARRANTY;  without even the implied warranty of MERCHAN- -- 
  11. -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE.                            -- 
  12. --                                                                          -- 
  13. -- As a special exception under Section 7 of GPL version 3, you are granted -- 
  14. -- additional permissions described in the GCC Runtime Library Exception,   -- 
  15. -- version 3.1, as published by the Free Software Foundation.               -- 
  16. --                                                                          -- 
  17. -- You should have received a copy of the GNU General Public License and    -- 
  18. -- a copy of the GCC Runtime Library Exception along with this program;     -- 
  19. -- see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see    -- 
  20. -- <http://www.gnu.org/licenses/>.                                          -- 
  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;