|
The Personal Web Pages of Chris X. EdwardsA Simplified Tk Reference |
| Keyword: | listbox |
| Description: | A widget designed to display and select lists of single line text items. |
| Example: |
set eumembers [lsort [list {Czech Republic} Poland Sweeden \\
Netherlands {Great Britain} France Germany Portugal Ireland \\
Luxembourg Austria Denmark Italy Finland] ];
listbox .eu -height 4 -listvar eumembers -yscrollcommand {.sb set}
scrollbar .sb -command {.eu yview }
pack .eu .sb -fill y -side left
|
![]() |
|
| Official Syntax: |
http://www.scriptics.com/man/tcl8.4/TkCmd/listbox.htm |
| Previous | Home | Next |
|
This page was created with only free, open-source, publicly licensed software.
This page was designed to be viewed with any browser on any system. | ||
| Chris X. Edwards ~ January 2004 | ||