list-control<%>
Extends: control<%>
A list control gives the user a list of string items to choose from.
There are two built-in classes that implement
list-control<%>:
choice% -- presents the list in a popup menu (so
the user can choose only one item at a time)
list-box% -- presents the list in a scrolling box,
allowing the use to choose one item (if the style includes
'single) or any number of items
In either case, the set of user-selectable items can be changed dynamically.
Methods
append
clear
find-string
get-number
get-selection
get-string
get-string-selection
set-selection
set-string-selection
All Methods
accept-drop-files from window<%>
append from list-control<%>
clear from list-control<%>
client->screen from window<%>
command from control<%>
enable from window<%>
find-string from list-control<%>
focus from window<%>
get-client-size from window<%>
get-cursor from window<%>
get-graphical-min-size from area<%>
get-height from window<%>
get-label from window<%>
get-number from list-control<%>
get-parent from area<%>
get-plain-label from window<%>
get-selection from list-control<%>
get-size from window<%>
get-string from list-control<%>
get-string-selection from list-control<%>
get-top-level-window from area<%>
get-width from window<%>
get-x from window<%>
get-y from window<%>
has-focus? from window<%>
horiz-margin from subarea<%>
is-enabled? from window<%>
is-shown? from window<%>
min-height from area<%>
min-width from area<%>
on-drop-file from window<%>
on-focus from window<%>
on-move from window<%>
on-size from window<%>
on-subwindow-char from window<%>
on-subwindow-event from window<%>
on-superwindow-enable from window<%>
on-superwindow-show from window<%>
popup-menu from window<%>
refresh from window<%>
screen->client from window<%>
set-cursor from window<%>
set-label from window<%>
set-selection from list-control<%>
set-string-selection from list-control<%>
show from window<%>
stretchable-height from area<%>
stretchable-width from area<%>
vert-margin from subarea<%>