Name

ScrolledWindow

tixScrolledWindow pathName [option value...]

The tixScrolledWindow command creates a new tixScrolledWindow megawidget named pathname. The tixScrolledWindow class is derived from the tixScrolledWidget class. It provides a scrollable frame widget in which any arbitrary windows may be placed.

Widget-Specific Options

-expandmode mode (expandMode, ExpandMode)

If mode is expand (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 if mode is the empty string.

-shrink mode (shrink, Shrink)

If mode is x, the width of the scrolled window will be reduced to fit its containing frame. The width of the scrolled window will not be reduced if mode 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.