This is an Itcl class based on the Tk canvas widget. It creates a frame containing a canvas window and optional scrollbars.
set w [CanvasWidget .c] pack $w -fill x -expand 1 [$w component canvas] create text 100 100 -text "CanvasWidget"
See CanvasWidget(n) for more details.
Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory