Name
ScrolledWindow
- tixScrolledWindow
pathName
[option value
...] The tixScrolledWindow command creates a new tixScrolledWindow megawidget named
pathname
. ThetixScrolledWindow
class is derived from thetixScrolledWidget
class. It provides a scrollable frame widget in which any arbitrary windows may be placed.
Widget-Specific Options
- -expandmode
mode
(expandMode
,ExpandMode
) If
mode
isexpand
(the default), the size of the scrolled window will be expanded to fill its containing frame. The size of the scrolled window will not be expanded ifmode
is the empty string.- -shrink
mode
(shrink
,Shrink
) If
mode
isx
, the width of the scrolled window will be reduced to fit its containing frame. The width of the scrolled window will not be reduced ifmode
is the empty string (the default).
Subwidgets
window
The frame widget that will be scrolled and that will serve as the container for other widgets.
hsb
The horizontal scrollbar widget.
vsb
The vertical scrollbar widget.
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.