NAME
ScrolledWindow - Generic scrolled widget
CREATION
ScrolledWindow pathName ?option value...?
STANDARD OPTIONS
  -background or -bg   -borderwidth or -bd
  -relief
WIDGET-SPECIFIC OPTIONS
  -auto
  -scrollbar
WIDGET COMMAND
pathName cget option
pathName configure ?option? ?value option value ...?
pathName getframe
pathName setwidget widget



DESCRIPTION

ScrolledWindow enables user to create easily a widget with its scrollbar. Scrollbars are created by ScrolledWindow and scroll commands are automatically associated to a scrollable widget with ScrolledWindow::setwidget.




WIDGET-SPECIFIC OPTIONS
-auto
Specifies the desired auto managed scrollbar:
  • none means scrollbar are always drawn
  • horizontal means horizontal scrollbar is drawn as needed
  • vertical means vertical scrollbar is drawn as needed
  • both means horizontal and vertical scrollbars are drawn as needed
  • horizontal means horizontal scrollbar is drawn as needed
  • -scrollbar (read-only)
    Specifies the desired scrollbar: none, horizontal, vertical or both. This option is not modifiable with ScrolledWindow::configure.


    WIDGET COMMAND
    pathName cget option
    Returns the current value of the configuration option given by option. Option may have any of the values accepted by the create command.
    pathName configure ?option? ?value option value ...?
    Modify the configuration options of the widget. Option may have any of the values accepted by the create command, except those who are read-only.
    pathName getframe
    Return the frame the scrolled widget should be created.
    pathName setwidget widget
    Associate widget to the the scrollbars. widget is packed in the frame returned by ScrolledWindow::getframe with option expand to yes and fill to both. widget must be a scrollable widget, i.e. have the options xscrollcommand/yscrollcommand and the command xview/yview, such as canvas or text.