Home
Downloads
TEdit
CViewer
Quiet
Keep Clicking
Keyboard Config
DriverLoad
Moo
HelpExec
PPC Cabinet I
Short Hand
Are You Up Yet?
Webload
Multicol Listbox
Button Bar
Scrollable Frame
Media
Blog Roll
Contact

 

TK Scrollable Frame

 

Introduction

 

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. This can be use in conjunction with multlistbox widget which only supports vertical scroll (but not horizontal scroll). Horizontal scroll can be achived by having a scrollable frame swallows a multlistbox widget and have the horizontal scroll bar scrolls the scrollable frame instead, much like this:

 

scrollbar .vs -orient vertical -command {.sf.mlb yview}

scrollbar .hs -orient horizontal -command {.sf xview} scrollableframe .sf -xscrollcommand {.hs set}
multlistbox .sf.mlb -yscrollcommand {.vs set}

 

 

Man page

 

Click here to read the man page in HTML format.

 

Download

 

Click here to get.