POE::XUL::Window - XUL window element
use POE::XUL::Node; # DWIM way $window = Window( # window with a header, HTML_H1(textNode => 'a heading'), # a label, and a button $label = Label(FILL, value => 'a label'), Button(label => 'a button'), ); # attributes $window->width( 800 ); $window->height( 600 ); # Main window is exported use POE::XUL::Application; my $node = window->getElementById( $id ); window->open( $winID, $features ); $window->close();
POE::XUL::Window is a special sub-class of POE::XUL::Node to handle window elements.
Shorter name for "getElementById".
my $button = window->node( 'B1' );
POE::XUL, POE::XUL::Node, POE::XUL::POE, POE::XUL::Event presents the list of all possible events.
http://developer.mozilla.org/en/docs/XUL has a good XUL reference.
Philip Gwyn <gwyn-at-cpan.org>
Based on work by Ran Eilam.
Copyright 2007-2010 by Philip Gwyn. All rights reserved;
Copyright 2003-2004 Ran Eilam. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install POE::XUL::RDF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::XUL::RDF
CPAN shell
perl -MCPAN -e shell install POE::XUL::RDF
For more information on module installation, please visit the detailed CPAN module installation guide.