Welcome to the Monastery | |
PerlMonks |
Re: Tk tearoff toplevel IDsby {NULE} (Hermit) |
on Jun 07, 2002 at 21:21 UTC ( [id://172676]=note: print w/replies, xml ) | Need Help?? |
Hey cadphile,
Regardless of why you want to be able to find children of a given widget the children method of a widget can provide interesting information about how Tk's heirarchies work. Included here is an example of how to tell exactly how a tear off menu is parented. You can see that when you have the menu torn off an additional child of the main window becomes available that is of type Tk::Menu. Good luck, {NULE} -- http://www.nule.org
In Section
Seekers of Perl Wisdom
|
|