ClassyTcl

  CanvasObject

Home    Documentation    Screenshots    Binary distributions    Source distribution   

subclass of Widget
A CanvasObject is not a widget type. It is a class whose objects can be associated with a canvas widget. When a CanvasObject instance is associated with a canvas, it will draw on this canvas. Several CanvasObject objects can be associated with the same canvas.

CanvasObject specific options

BarcHart objects support the following options in its configure method
-canvas
name of canvas to draw the barchart
-area
area in which to diplay the chart (a list of four numbers)
-boxwidth
display a rectangle with this width showing the area
-boxcolor
color of area rectangle

CanvasObject specific methods

pathname destroy
pathname configure ?option? ?value? ?option value ...?
pathname cget option
pathname redraw

Peter De Rijk
hosted at SourceForge.net Logo