in reply to Perl::Tk Is it possible to configure "anonymous" widgets?
P.S. There is also the Tk::caller method, but it requires a bind.#! /usr/bin/perl -w use Tk; $mw=MainWindow->new(); foreach(1..10) { $mw->Entry()->pack; } $mw->after(100,sub{ print $mw->packSlaves,"\n"; }); MainLoop;
|
|---|