Tkinter Canvas & Fast Scrolling/Dragging

Randall Hopper aa8vb at vislab.epa.gov
Fri Apr 16 17:40:16 EDT 1999


Since the Canvas doesn't implement a "level of detail" control, I'd like
implement it.

Basically, what I want to do is turn off filling of canvas objects
temporarily while the user is scrolling the canvas or they're dragging one
of the shapes.  When the operation is finished (user releases the mouse),
I'll turn fill back on.  

The idea here being that the canvas seems to be pretty responsive for me
until it has to draw stipple shapes.  Then it's painfully slow.

I know how to do this for dragging, but I don't know where to "hook in" for
scrolling.

Any suggestions?

Thanks,

Randall




More information about the Python-list mailing list