FigureCanvas widget


I'd like to augment the canvas plot to include mouse drawing facilities. Has anyone done something like this ? It would involve adding a toolbar to the frame (eg. paint tool selection), and managing the graphics primatives (like the Tk canvas). I can see how to hook into the underlying backend widget, but it's not so clear the interface for adding/removeing graphics objects (points/lines etc.) from the plot.

Any help much appreciated.



Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Ph. 61 02 6249 6940