An entry widget may be used to display text or allow the user to type a short text.
interface entry : widget { <widgets/entry.h>
sources/java/hush.dv.widgets.entry
entry();
entry(char* p, char* options = "");
entry(widget* w,char* p, char* options = "");
void insert(char* s); insert text
void del(); delete
};
-state <normal|disabled> -width <number> - in characters
When a handler is attached to the entry widget it is activated whenever the user double clicks on the widget or presses the return key. The contents of the entry are added as an argument when calling the handler.
widget - file <widgets/entry.h>
|
Hush Online Technology
hush@cs.vu.nl
09/24/99 |
|
|