subsubsection3_4_3_1.html
section3_4.html
subsubsection3_4_2_4.html
tableofcontents3_1.html
Next:
subsubsection3_4_3_1.html
The Scrolled Listbox
Up:
section3_4.html
Container Widgets
Previous:
subsubsection3_4_2_4.html
Changing the Sizes
The Family of Scrolled Widgets
With plain Tcl/Tk, the widgets do not automatically come with
scrollbars. If you want to use scrollbars with the text, canvas or
listbox widgets, you will need to create scrollbars separately and
attach them to the widgets. This can be a lot of hassle because you
would almost always need scrollbars for these widgets. Sometimes you
will wonder why you need to write the same boring code again and
again just to get the scrollbars to working.
The Tix scrolled widgets are here to make your life easier. With a
single command such as
tixScrolledListBox
or
tixScrolledText
, you can create a listbox or text widget that comes
automatically with scrollbars attached.
Another advantage of the Tix scrolled widgets is that you can
specify their scrolling policy so that the scrollbars appear only
when they are needed. This feature is especially useful if you are
displaying a lot of widgets and running out of screen real estate.
subsubsection3_4_3_1.html#SECTION00043100000000000000
The Scrolled Listbox Widget
subsubsection3_4_3_2.html#SECTION00043200000000000000
Other Scrolled Widgets
http://tix.sourceforge.net
http://tix.sourceforge.net
