org.gnu.gnome
public class Entry extends Combo
Deprecated:
The Entry widget accepts user input - once accepted, the entry is included in the history of items previously entered. You can save this history information so it can be restored the next time the widget appears.See Also: org.gnu.gtk.Entry
Constructor Summary | |
---|---|
Entry(Handle handle)
Constructs an Entry object referencing an existing gnome Entry native
resource.
| |
Entry(String historyID)
Constructs a new Entry object.
|
Method Summary | |
---|---|
void | appendHistory(String text, boolean save)
Add a string to the end of the list.
|
void | clearHistory()
Clear the history list. |
Entry | getEntry()
Return the Gtk Entry for this widget. |
String | getHistoryID()
Gets the unique Id used by gnome to save and load history info. |
int | getMaxSaved() |
static Type | getType()
Retrieve the runtime type used by the GLib library. |
void | prependHistory(String text, boolean save)
Add a string to the beginning of the list.
|
void | setHistoryID(String historyID)
Sets the unique Id used by gnome to save and load history info. |
void | setMaxSaved(int maxSaved) |
Parameters: handle The handle to the gnome Entry widget.
Parameters: historyID The unique Id used by gnome to save and load history list info.
Parameters: text The string to append. save If true, the list will be saved to history after the append.
Parameters: text The string to prepend. save If true, the list will be saved to history after the prepend.