When you want to enter a line of text -- for instance a search string -- a text input pane can be used.
(setq text (make-instance 'text-input-pane
:title "Search: "
:callback 'test-callback))
(contain text)
Notice that the default title position for text input panes is
:left
.
Text may be placed in the text input pane itself by giving the
:text
keyword a string argument.