## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

1.     -----------------------------------------------------------------------

2.     --               GtkAda - Ada95 binding for Gtk+/Gnome               --

3.     --                                                                   --

4.     --      Copyright (C) 2000 E. Briot, J. Brobecker and A. Charlet     --

5.     --                Copyright (C) 2000-2006 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.     -----------------------------------------------------------------------

30.     --  <description>

31.     --  A Gtk_Item_Entry is a special kind of entry item used in a

32.     --  Gtk_Sheet to edit the current cell.

33.     --  It can be used independently, but you should rather use a more general

34.     --  Gtk_Entry widget.

35.     --  </description>

36.     --  <c_version>gtkextra 2.1.1</c_version>

37.     --  <group>GtkExtra, additional widgets</group>

39.     with Gtk.EnumsTo API docTo specTo body;

40.     with Gtk.GEntryTo API docTo specTo body;

42.     package Gtk.Extra.Item_EntryTo API docTo specTo body is

44.        type Gtk_IEntry_RecordTo API docTo body is new Gtk.GEntry.Gtk_Entry_RecordTo API docTo specTo body with private;

45.        type Gtk_IEntry is access all Gtk_IEntry_RecordTo API docTo specTo body'Class;

47.        subtype Gtk_Item_Entry_Record is Gtk_IEntry_RecordTo API docTo specTo body;

48.        subtype Gtk_Item_Entry is Gtk_IEntryTo API docTo spec;

49.        --  This type is provided so as to be compatible with the new name used

50.        --  in gtk+extra. Both names are kept for backward compatibility.

52.        procedure Gtk_NewTo API docTo body (Widget : out Gtk_IEntryTo API docTo spec;

53.                           Max    : in Guint16To API docTo spec := 0);

54.        --  Create a new entry item.

55.        --  By default, the maximal length depends only on the size of the widget.

57.        procedure InitializeTo API docTo body (Widget : access Gtk_IEntry_RecordTo API docTo specTo body'Class;

58.                              Max    : in Guint16To API docTo spec);

59.        --  Internal initialization function.

60.        --  See the section "Creating your own widgets" in the documentation.

62.        function Get_TypeTo API docTo body return Gtk.Gtk_TypeTo API docTo spec;

63.        --  Return the internal value associated with a Gtk_Item_Entry.

65.        procedure Set_JustificationTo API docTo body

66.          (Item_Entry    : access Gtk_IEntry_RecordTo API docTo specTo body;

67.           JustificationTo API docTo body : Gtk.Enums.Gtk_JustificationTo API docTo spec);

68.        --  Change the justification of the text in the entry.

70.        procedure Set_TextTo API docTo body

71.          (Item_Entry    : access Gtk_IEntry_RecordTo API docTo specTo body;

72.           Text          : String;

73.           JustificationTo API docTo body : Gtk.Enums.Gtk_JustificationTo API docTo spec);

74.        --  Change the text in the entry.

76.        procedure Set_Cursor_VisibleTo API docTo body

77.          (Item_Entry : access Gtk_IEntry_RecordTo API docTo specTo body; Visible : Boolean);

78.        --  Whether the cursor should be visible

80.        function Get_Cursor_VisibleTo API docTo body

81.          (Item_Entry : access Gtk_IEntry_RecordTo API docTo specTo body) return Boolean;

82.        --  Whether the cursor is visible

84.        -------------

85.        -- Signals --

86.        -------------

88.        --  <signals>

89.        --  The following new signals are defined for this widget:

90.        --  </signals>

91.     private

92.        type Gtk_IEntry_RecordTo API docTo spec is new Gtk.GEntry.Gtk_Entry_RecordTo API docTo specTo body with null record;

93.        pragma Import (C, Get_TypeTo API docTo spec, "gtk_item_entry_get_type");

94.     end Gtk.Extra.Item_EntryTo API docTo specTo body;