The entry class

An entry widget may be used to display text or allow the user to type a short text.
  interface entry : widget { 
\c{\fbox{entry}}
entry(char* p, char* options = ""); entry(widget* w,char* p, char* options = ""); void insert(char* s);
\c{// insert text}
char* get();
\c{// to get the text}
protected: install(action&, char* args); };

slide: The entry class

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.