Think about Loose Coupling | |
PerlMonks |
Re: Tk tearoff toplevel IDsby BlueBlazerRegular (Friar) |
on Jun 07, 2002 at 20:10 UTC ( [id://172652]=note: print w/replies, xml ) | Need Help?? |
cadphile, Yes, the tearoff item is child of the mainwindow and will be destroyed when you kill its parent. I don't know of any way of getting its handle so you can destroy it in the program, but I have to ask: Why do you want to? Isn't the user the one 'tearing-off' the menu? Therefore shouldn't they be the one to destroy it? Pat
In Section
Seekers of Perl Wisdom
|
|