Subject: | onload for a window doesn't work |
Date: | Fri, 14 Jan 2011 23:03:35 -0500 |
To: | bug-XUL-Gui [...] rt.cpan.org |
From: | David Swingle <qwhm86 [...] motorola.com> |
OS: Windows XP Professional
Perl version: v5.8.8 built for MSWin32-x86-multi-thread
XUL-GUI: 0.63
In the XUL documentation, there is an event, onload, which is for a window
(and others). It does not seem to work in XUL-GUI.
use XUL::Gui;
$Data::Dumper::Indent = 1;
display Window
(
onload => \&WindowLoaded,
id => "window",
title => "Test Window",
Label (value => 'Test')
);
sub WindowLoaded
{
print "in WindowLoaded\n";
}
David