David S has asked for the wisdom of the Perl Monks concerning the following question:
Thanks, David
use XUL::Gui; display Window ( onload => \&WindowLoaded, id => "window", title => "Test Window", Button(label=>'Test', oncommand=>\&ButtonHandler) ); sub WindowLoaded { print "in WindowLoaded\n"; } sub ButtonHandler { print "in ButtonHandler\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XUL::Gui onload
by toolic (Bishop) on Jan 23, 2011 at 01:12 UTC | |
by David S (Sexton) on Jan 23, 2011 at 05:31 UTC | |
|
Re: XUL::Gui onload
by PeterPeiGuo (Hermit) on Jan 23, 2011 at 22:45 UTC | |
by David S (Sexton) on Jan 24, 2011 at 01:18 UTC |