This pane consists of a text input area, and a button. Clicking on the button displays a drop-down list of strings, and selecting one of the strings automatically pastes it into the text input area.
An integer specifying the maximum length of the drop-down list, or the symbol
:default
.
A function called just before the drop-down list appears, or
nil
.
The
text-input-choice
class behaves in the same way as a text-input-pane, but has additional functionality. The element inherits from choice, and the choice
items
are used as the items to display when the user clicks on the button.
The
callback
is called when the user presses the
Return
key.
The selection-callback is called when the user selects an item using the drop-down list.