A Gtk_Entry is a single line text editing widget. The text is automatically scrolled if it is longer than can be displayed on the screen, so that the cursor position is visible at all times.
See also Gtk_Text for a multiple-line text editing widget.
Note that this widget does not currently support wide-character, or character sets that require multiple-byte encoding.
Widget Hierarchy |
---|
Gtk_Object (see section Package Gtk.Object) \___ Gtk_Widget (see section Package Gtk.Widget) \___ Gtk_Editable (see section Package Gtk.Editable) \___ Gtk_Entry (see section Package Gtk.GEntry) |
Subprograms |
---|
procedure Gtk_New (Widget : out Gtk_Entry; Max : in Guint16); | ||
Create a new entry with a maximum length for the text. | ||
procedure Gtk_New (Widget : out Gtk_Entry); | ||
Create a new entry with no maximum length for the text
| ||
function Get_Type return Gtk.Gtk_Type; | ||
Return the internal value associated with a Gtk_Entry.
| ||
procedure Set_Text (The_Entry : access Gtk_Entry_Record; Text : in String); | ||
Modify the text in the entry. | ||
procedure Append_Text (The_Entry : access Gtk_Entry_Record; Text : in String); | ||
Append a new string at the end of the existing one.
| ||
procedure Prepend_Text (The_Entry : access Gtk_Entry_Record; Text : in String); | ||
Insert some text at the beginning of the entry.
| ||
procedure Set_Visibility (The_Entry : access Gtk_Entry_Record; Visible : in Boolean); | ||
Set the visibility of the characters in the entry. | ||
procedure Set_Max_Length (The_Entry : access Gtk_Entry_Record; Max : in Guint16); | ||
Set the maximum length for the text. |