GUIKit`
GUIKit`
"List"
The functionality provided by GUIKit has been superseded by the interface construction and controls functions native to the built-in Wolfram Language.
Widget["List"]
represents a list.
Details
- To use Widget["List"], you first need to load GUIKit using Needs["GUIKit`"].
- The following properties are available:
-
"items" {} the contents of the list "visibleRowCount" 8 the number of visible rows "selectedValues" {} which items are selected - The following event is available:
-
"listSelection" the event triggered when there is a change in the current selection
Examples
Basic Examples (1)
Needs["GUIKit`"]ref = GUIRun[
Widget["Panel", {
Widget["ScrollPane", {
"viewportView" -> Widget["List", {
"visibleRowCount" -> 3,
"items" -> Script[{"Choice A", "Choice B", "Choice C", "Choice D", "Choice E"}]
}] }] }]
];GUIScreenShot[ref]ref = GUIRun[
Widget["Panel", {
Widget["ScrollPane", {
"viewportView" -> Widget["List", {
"visibleRowCount" -> 6,
"items" -> Script[ Table[ Random[], {20}]]
}] }] }]
];GUIScreenShot[ref]