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>Windows</group> 
  32.  
  33. with Gtk.Dialog; 
  34.  
  35. package Gtk.Input_Dialog is 
  36.  
  37.    type Gtk_Input_Dialog_Record is new Dialog.Gtk_Dialog_Record with private; 
  38.    type Gtk_Input_Dialog is access all Gtk_Input_Dialog_Record'Class; 
  39.  
  40.    procedure Gtk_New (Input_Dialog : out Gtk_Input_Dialog); 
  41.  
  42.    procedure Initialize (Input_Dialog : access Gtk_Input_Dialog_Record'Class); 
  43.  
  44.    function Get_Type return Gtk.Gtk_Type; 
  45.    --  Return the internal value associated with a Gtk_Input_Dialog. 
  46.  
  47.    ---------------- 
  48.    -- Properties -- 
  49.    ---------------- 
  50.  
  51.    --  <properties> 
  52.    --  The following properties are defined for this widget. See 
  53.    --  Glib.Properties for more information on properties. 
  54.    -- 
  55.    --  </properties> 
  56.  
  57.    ------------- 
  58.    -- Signals -- 
  59.    ------------- 
  60.  
  61.    --  <signals> 
  62.    --  The following new signals are defined for this widget: 
  63.    --  - "enable_device" 
  64.    --  - "disable_device" 
  65.    --  </signals> 
  66.  
  67.    Signal_Disable_Device : constant Glib.Signal_Name := "disable_device"; 
  68.    Signal_Enable_Device  : constant Glib.Signal_Name := "enable_device"; 
  69.  
  70. private 
  71.    type Gtk_Input_Dialog_Record is new Dialog.Gtk_Dialog_Record 
  72.      with null record; 
  73.  
  74.    pragma Import (C, Get_Type, "gtk_input_dialog_get_type"); 
  75. end Gtk.Input_Dialog;