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. -- -- -- -- -- -- -- -- -- -- -- --
  23. ----------------------------------------------------------------------- 
  24.  
  25. --  <c_version>2.8.17</c_version> 
  26. --  <group>Obsolescent widgets</group> 
  27. --  <doc_ignore> 
  28.  
  29. with Gtk.Label; 
  30. with Gtk.Widget; 
  31.  
  32. package Gtk.Tips_Query is 
  33.    pragma Obsolescent; 
  34.  
  35.    type Gtk_Tips_Query_Record is new Gtk.Label.Gtk_Label_Record with private; 
  36.    type Gtk_Tips_Query is access all Gtk_Tips_Query_Record'Class; 
  37.  
  38.    procedure Gtk_New (Widget : out Gtk_Tips_Query); 
  39.  
  40.    procedure Initialize (Widget : access Gtk_Tips_Query_Record'Class); 
  41.  
  42.    procedure Set_Caller 
  43.      (Tips_Query : access Gtk_Tips_Query_Record; 
  44.       Caller     : access Gtk.Widget.Gtk_Widget_Record'Class); 
  45.  
  46.    procedure Set_Labels 
  47.      (Tips_Query     : access Gtk_Tips_Query_Record; 
  48.       Label_Inactive : UTF8_String; 
  49.       Label_No_Tip   : UTF8_String); 
  50.  
  51.    procedure Start_Query (Tips_Query : access Gtk_Tips_Query_Record); 
  52.  
  53.    procedure Stop_Query (Tips_Query : access Gtk_Tips_Query_Record); 
  54.  
  55.    ---------------- 
  56.    -- Properties -- 
  57.    ---------------- 
  58.  
  59.    --  <properties> 
  60.    --  The following properties are defined for this widget. See 
  61.    --  Glib.Properties for more information on properties. 
  62.    -- 
  63.    --  </properties> 
  64.  
  65.    ------------- 
  66.    -- Signals -- 
  67.    ------------- 
  68.  
  69.    --  <signals> 
  70.    --  The following new signals are defined for this widget: 
  71.    -- 
  72.    --  - "widget_selected" 
  73.    --  - "start_query" 
  74.    --  - "stop_query" 
  75.    --  - "widget_entered" 
  76.    -- 
  77.    --  </signals> 
  78.  
  79.    Signal_Widget_Selected : constant Glib.Signal_Name := "widget_selected"; 
  80.    Signal_Start_Query     : constant Glib.Signal_Name := "start_query"; 
  81.    Signal_Stop_Query      : constant Glib.Signal_Name := "stop_query"; 
  82.    Signal_Widget_Entered  : constant Glib.Signal_Name := "widget_entered"; 
  83.  
  84. private 
  85.    type Gtk_Tips_Query_Record is new Gtk.Label.Gtk_Label_Record 
  86.      with null record; 
  87. end Gtk.Tips_Query; 
  88.  
  89. --  This subprogram was never implemented, and the whole package is now 
  90. --  obsolescent 
  91. --  No binding: gtk_tips_query_get_type 
  92.  
  93. --  </doc_ignore>