[Image of Linux]
The Personal Web Pages of Chris X. Edwards

A Simplified Tk Reference

--------------------------
Keyword:

scrollbar

Description: A special widget to control display of other widgets. It is generally mutually tied to another widget which is also tied to the scrollbar.
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 } -background blue -troughcolor yellow
pack .eu .sb -fill y -side left

  
Official
Syntax:
http://www.scriptics.com/man/tcl8.4/TkCmd/scrollbar.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