I am using ActiveState's Perl on windows, using Tkx.
What I would like to do is return a list of slaves to a widget e.g. a frame, and loop over them to add padding. Saves typing ;-)
But the following code snippet does not compile for me:
my @kids = $session_frame->g_packSlaves(); foreach (@kids) { $_->g_pack(-padx => 5, -pady => 5); }
What am I doing wrong?
Thanks!In reply to Tkx: return list of slaves by v4169sgr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |