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
name of canvas to draw the barchart
area in which to diplay the chart (a list of four numbers)
display a rectangle with this width showing the area
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 Logo