Description
The scrollableframe widget implements a TK frame widget that provides xview and
yview commands, which means TK widgets managed by this frame widget will
be scrollable. It is written in Tcl/Tk so it should run on all
platforms that Tcl supports.
Feature
I wrote this because my multlistbox widget only supports vertical scroll
(but no horizontal scroll). I can fake the horizontal scroll of
it by having a scrollable frame "swallows" my multlistbox widget and
have the horizontal scroll bar scrolls the scrollable frame instead, much
like this:
scrollbar .vs -orient vertical -command {.sf.mlb yview} # scrolls the multlistbox
scrollbar .hs -orient horizontal -command {.sf xview} # scrolls the scrollableframe
scrollableframe .sf -xscrollcommand {.hs set}
multlistbox .sf.mlb -yscrollcommand {.vs set} # plus other options
# then pack them together
......
Man Page
Click here to read the man page in HTML.
Where To Get
This distribution includes an example and the man page in both HTML and text
format. Click here to get.
Looking For An Editor?
TEdit is an editor written in Tcl/Tk with plug-in feature.
Users can write plug-in in Tcl/Tk or in any other languages.