1. ----------------------------------------------------------------------- 
  2. --               GtkAda - Ada95 binding for Gtk+/Gnome               -- 
  3. --                                                                   -- 
  4. --   Copyright (C) 1998-2000 E. Briot, J. Brobecker and A. Charlet   -- 
  5. --                Copyright (C) 2000-2007 AdaCore                    -- 
  6. --                                                                   -- 
  7. -- This library is free software; you can redistribute it and/or     -- 
  8. -- modify it under the terms of the GNU General Public               -- 
  9. -- License as published by the Free Software Foundation; either      -- 
  10. -- version 2 of the License, or (at your option) any later version.  -- 
  11. --                                                                   -- 
  12. -- This library is distributed in the hope that it will be useful,   -- 
  13. -- but WITHOUT ANY WARRANTY; without even the implied warranty of    -- 
  14. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU -- 
  15. -- General Public License for more details.                          -- 
  16. --                                                                   -- 
  17. -- You should have received a copy of the GNU General Public         -- 
  18. -- License along with this library; if not, write to the             -- 
  19. -- Free Software Foundation, Inc., 59 Temple Place - Suite 330,      -- 
  20. -- Boston, MA 02111-1307, USA.                                       -- 
  21. --                                                                   -- 
  22. -- As a special exception, if other files instantiate generics from  -- 
  23. -- this unit, or you link this unit with other files to produce an   -- 
  24. -- executable, this  unit  does not  by itself cause  the resulting  -- 
  25. -- executable to be covered by the GNU General Public License. This  -- 
  26. -- exception does not however invalidate any other reasons why the   -- 
  27. -- executable file  might be covered by the  GNU Public License.     -- 
  28. ----------------------------------------------------------------------- 
  29.  
  30. --  <c_version>2.8.17</c_version> 
  31. --  <group>Obsolescent widgets</group> 
  32. --  <doc_ignore> 
  33.  
  34. with Gtk.Label; 
  35. with Gtk.Widget; 
  36.  
  37. package Gtk.Tips_Query is 
  38.    pragma Obsolescent; 
  39.  
  40.    type Gtk_Tips_Query_Record is new Gtk.Label.Gtk_Label_Record with private; 
  41.    type Gtk_Tips_Query is access all Gtk_Tips_Query_Record'Class; 
  42.  
  43.    procedure Gtk_New (Widget : out Gtk_Tips_Query); 
  44.  
  45.    procedure Initialize (Widget : access Gtk_Tips_Query_Record'Class); 
  46.  
  47.    procedure Set_Caller 
  48.      (Tips_Query : access Gtk_Tips_Query_Record; 
  49.       Caller     : access Gtk.Widget.Gtk_Widget_Record'Class); 
  50.  
  51.    procedure Set_Labels 
  52.      (Tips_Query     : access Gtk_Tips_Query_Record; 
  53.       Label_Inactive : UTF8_String; 
  54.       Label_No_Tip   : UTF8_String); 
  55.  
  56.    procedure Start_Query (Tips_Query : access Gtk_Tips_Query_Record); 
  57.  
  58.    procedure Stop_Query (Tips_Query : access Gtk_Tips_Query_Record); 
  59.  
  60.    ---------------- 
  61.    -- Properties -- 
  62.    ---------------- 
  63.  
  64.    --  <properties> 
  65.    --  The following properties are defined for this widget. See 
  66.    --  Glib.Properties for more information on properties. 
  67.    -- 
  68.    --  </properties> 
  69.  
  70.    ------------- 
  71.    -- Signals -- 
  72.    ------------- 
  73.  
  74.    --  <signals> 
  75.    --  The following new signals are defined for this widget: 
  76.    -- 
  77.    --  - "widget_selected" 
  78.    --  - "start_query" 
  79.    --  - "stop_query" 
  80.    --  - "widget_entered" 
  81.    -- 
  82.    --  </signals> 
  83.  
  84.    Signal_Widget_Selected : constant Glib.Signal_Name := "widget_selected"; 
  85.    Signal_Start_Query     : constant Glib.Signal_Name := "start_query"; 
  86.    Signal_Stop_Query      : constant Glib.Signal_Name := "stop_query"; 
  87.    Signal_Widget_Entered  : constant Glib.Signal_Name := "widget_entered"; 
  88.  
  89. private 
  90.    type Gtk_Tips_Query_Record is new Gtk.Label.Gtk_Label_Record 
  91.      with null record; 
  92. end Gtk.Tips_Query; 
  93.  
  94. --  This subprogram was never implemented, and the whole package is now 
  95. --  obsolescent 
  96. --  No binding: gtk_tips_query_get_type 
  97.  
  98. --  </doc_ignore>