Updated 2011-09-15 22:19:07 by RLE

NAME
   scanvas - scrolled-canvas: an extension of the canvas widget

VERSION
   1.0

SYNOPSIS
   scanvas pathName ?options?

INTRODUCTION
  scanvas is an extension of the canvas widget.
  Scanvas enables user to create easily a canvas with its scrollbars.
  All subcommand/options to the newly created _pathName_ are forwarded to
  the internal canvas.

STANDARD OPTIONS
   all "canvas" options are supported.

SCANVAS-SPECIFIC OPTIONS
  -hscrollside _side_
    Specifies where to place the horizontal scrollbar.
    _side_ can be: "top","bottom","none" .
    Default is "bottom".
  -vscrollside _side_
    Specifies where to place the vertical scrollbar.
    _side_ can be: "left","right","none" .
    Default is "right".

WIDGET COMMANDS
   .. all "canvas" widget commands are supported.

EXTENDED COMMANDS
   pathName _component_ configure ...
   pathName _component_ cget ...

    where _component_ is one of the following:
     hscroll
     vscroll
     frame

   These 2 commands lets you accces the internal components.
    Example:
     # change the "width" option of the vertical scrollbar.
     #   ( Let's suppose $w is an instance of the scanvas widget .. )
    $w vscroll configure -width 10
     # change the "padding" space around the frame.
    $w frame configure -padx 10 -pady 10

Read more:

  • scanvas.txt [1]


Download:

  • scanvas1.0.zip [2]