
POE::XUL::Constants - XUL attribute helpers

use POE::XUL::Node;
Window( SIZE_TO_CONTENT, ORIENT_HORIZONTAL );
Description( FILL, "Some text" );
my $item = MenuItem( DISABLED, label=>"--------" );
$item->setAttribute( ENABLED );

POE::XUL::Constants provides a bunch of constants for commonly used attributes.

flex="1"
align="start";
align="center"
align="end"
align="baseline"
align="stretch"
align="left"
align="right"
pack="start"
pack="center"
pack="end"
orient="horizontal"
orient="vertical"
dir="forward"
dir="reverse"
crop="start"
crop="center"
crop="end"
sizeToContent="1"
disabled="1"
disabled="0"
type="checkbox"
type="radio"
type="menu"
type="menu-button"
type="button"
type="password"
align="stretch" stretch="1"

Philip Gwyn <gwyn-at-cpan.org>

Based on XUL::Node::Constants by Ran Eilam.

Copyright 2007-2008 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.

perl(1), POE::XUL, POE::XUL::Node, , POE::XUL::TextNode.