scrollutil::scrollsync andscrollutil::getscrollsync Commandsscrollutil::scrollsync
    Command – Quick Referencescrollutil::scrollsync
    Command – Detailed Referencescrollutil::getscrollsync Commandscrollutil::scrollsync Command
  – Quick Referencescrollutil::scrollsync – Create and manipulate
    scrollsync widgetsscrollutil::scrollsync pathName ?options?
-background -highlightbackground -relief -borderwidth -highlightcolor -xscrollcommand -cursor -highlightthickness -yscrollcommand
-takefocus
    0|1|""|commandpathName cget
    optionpathName configure
    ?option? ?value option value ...?pathName setwidgets
    widgetListpathName widgetspathName xview
      ?args?
      pathName xviewpathName xview moveto
        fractionpathName xview scroll number
        units|pagespathName yview
      ?args?
      pathName yviewpathName yview moveto
        fractionpathName yview scroll number
        units|pagesscrollutil::scrollsync
  Command – Detailed Referencescrollutil::scrollsync – Create and manipulate
    scrollsync widgetsscrollutil::scrollsync pathName ?options?
scrollutil::scrollsync command creates a new
    window named pathName and of the class
    Scrollsync, and makes it into a scrollsync
    widget.  Additional options, described below, may be specified on the
    command line or in the option database to configure aspects of the
    scrollsync widget such as its borderwidth and relief.  The
    scrollutil::scrollsync command returns its
    pathName argument.  At the time this command is
    invoked, there must not exist a window named pathName,
    but pathName's parent must exist.-xscrollcommand and -yscrollcommand
    configuration options and the associated Tcl command has the
    xview and yview subcommands.  Whenever the
    horizontal/vertical position of the view in the window of one of the
    horizontally/vertically scrollable widgets contained in the list passed to
    the setwidgets subcommand of
    the associated Tcl command changes, the view in the windows of all the
    other horizontally/vertically scrollable elements of that list is
    automatically adjusted accordingly, thus making sure that the view's
    position in these windows is kept in sync.
        
set sa [scrollutil::scrollarea ...]
set ss [scrollutil::scrollsync $sa.ss ...]
$sa setwidget $ss
set lb1 [listbox $ss.lb1 ...]
set lb2 [listbox $ss.lb2 ...]
$ss setwidgets [list $lb1 $lb2]
grid $lb1 $lb2 -sticky news -padx {0 2}
grid rowconfigure    $ss 0   -weight 1
grid columnconfigure $ss all -weight 1
pack $sa -expand yes -fill both
      
    -background -highlightbackground -relief -borderwidth -highlightcolor -xscrollcommand -cursor -highlightthickness -yscrollcommand
-background,
    -highlightbackground,
    -highlightcolor, and
    -highlightthickness options are only supported by the
    Scrollutil package, but not by Scrollutil_tile.  They have the same
    default values as the options of the same names for Tk frame widgets. 
    The default values of the remaining standard options are:-borderwidth 0 -cursor "" -relief flat -xscrollcommand "" -yscrollcommand ""
| Command-Line Name: | -takefocus | 
| Database Name: |  takeFocus | 
| Database Class: |  TakeFocus | 
This option determines whether the scrollsync widget accepts the focus during keyboard traversal. It is almost identical to the standard option of the same name (see the options manual entry for details). The only difference is that not the scrollsync widget itself but the first element of the widget list passed to the
setwidgetssubcommand of the associated Tcl command will receive the focus during keyboard traversal with the standard keys (TabandShift-Tab). The default is0, being that a scrollsync widget is esentially a frame containing the above-mentioned widgets.
scrollutil::scrollsync command creates a new Tcl
      command whose name is pathName.  This command
      may be used to invoke various operations on the widget.  It has the
      following general form:
      pathName option ?arg arg ...?
option and the args determine
    the exact behavior of the command.  The following commands are
    possible for scrollsync widgets:pathName cget
        optionoption, which may have any of the values accepted
        by the scrollutil::scrollsync command.pathName configure
        ?option? ?value option value
        ...?option is specified, the command returns a
        list describing all of the available options for
        pathName (see Tk_ConfigureInfo
        for information on the format of this list).  If
        option is specified with no
        value, then the command returns a list describing
        the one named option (this list will be identical to the corresponding
        sublist of the value returned if no option is
        specified).  If one or more
        option-value pairs are
        specified, then the command modifies the given widget option(s) to have
        the given value(s); in this case the return value is an empty
        string.  option may have any of the values
        accepted by the scrollutil::scrollsync
        command.pathName setwidgets
        widgetListwidgetList argument must be a
        valid list consisting of path names of existing widgets.  Whenever
        the horizontal/vertical position of the view in the window of one of
        the horizontally/vertically scrollable widgets contained in this list
        changes, the view in the windows of all the other
        horizontally/vertically scrollable elements of the list will be
        automatically adjusted accordingly, thus making sure that the view's
        position in these windows is kept in sync.  The return value is
        the argument passed to the previous successful invocation of this
        subcommand, or an empty list if there was no successful
        setwidgets invocation before.widgetList gets destroyed,
        that widget is automatically removed from the internal list of widgets
        in whose windows the view's position is kept in sync.pathName
        widgetssetwidgets subcommand, or an empty list if
        there was no successful invocation of that subcommand yet.pathName xview
        ?args?pathName xviewpathName xview moveto
        fractionpathName xview scroll number
        units|pagesxview command of the current master widget for
        the x axis and returns the result of that command invocation. 
        The master widget for the x axis is the element of the widget list
        passed to the setwidgets
        subcommand having the smallest relative view width among the
        horizontally scrollable widgets in that list, i.e., the least
        difference between the last and first elements of the two-element list
        returned by its xview command.  This master
        widget can vary during program execution (in case of text widgets it
        can even change depending on the current vertical view position).pathName yview
        ?args?pathName yviewpathName yview moveto
        fractionpathName yview scroll number
        units|pagesyview command of the current master widget for
        the y axis and returns the result of that command invocation. 
        The master widget for the y axis is the element of the widget list
        passed to the setwidgets
        subcommand having the smallest relative view height among the
        vertically scrollable widgets in that list, i.e., the least difference
        between the last and first elements of the two-element list returned by
        its yview command.  This master widget can
        vary during program execution.scrollutil::getscrollsync
  Commandscrollutil::getscrollsync – Query the scrollsync
    containing a given widgetscrollutil::gescrollsync widget
widget argument is embedded via the scrollsync's
    setwidgets subcommand, or an
    empty string if there is no such scrollsync widget.