clearing a canvas

What's the proper way to clear a canvas? I've tried iterating over the root
group's child list and destroying them, and several variation on that theme,
but none of the things that I have tried worked right.  Iterating and hiding
makes them go away, but adding a destroy keeps the items from going away.

Geoffrey Reedy                   Student Network System Administrator                    Illinois Math and Science Academy

"Unix-to-Unix Copy Program;" said PDP-1.  "You will never find a more
wretched hive of bugs and flamers.  We must be cautious."
				-- DECWARS

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]