in reply to Perl/Tk widgetId
I assume you are talking about the item-id returned by the createITEM - method. It would not be very useful having these wrap, because if they did, how would you ensure their uniqueness. Concerning your problem: If you can find a point in your program where all items are deleted, you could recreate the canvas there and get a new id-counter.
Cheers, Christoph
|
|---|