in reply to Display new widgets after MainLoop
(after MainLoop has been called)
Not after the MainLoop. This loop never exits (if you don't destroy the MainWindow, that is).
Instead, you bind events to code (subroutines), which does what you want (e.g. create widgets). Then if a event is triggered, the code bound to this event is executed.
populate a grid managed frame
You just create those widgets as children of the frame:
$Frame->$Widget(@args);
where $Widget is Button, Frame, Entry, Canvas, ... etc.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Display new widgets after MainLoop
by aquarium (Curate) on Aug 11, 2010 at 23:05 UTC |
In Section
Seekers of Perl Wisdom