SAOTk Reference Manual
Table of Contents

SAOTk Frame Panner Commands

commands

  • panner
  • panner update
  • panner

    Control and define the panner for this frame widget. In the second form, the existing panner widget specified is assigned to this frame widget. When the update command is executed, the frame widget will calulate the proper image to be displayed and will automatically notified the named panner widget.
    Syntax:  panner yes no # activate or deactivate current magnifier
                   panner  string integer integer # assign a particular panner widget to this frame
    Example: panner on
             panner mypanner 128 128

    panner update

    Update the panner based on the current zoom, rotation, and orientation.
    Syntax:  panner update # activate or deactivate current magnifier
    Example: panner update