NAME

POE::XUL::Constants - XUL attribute helpers

SYNOPSIS

use POE::XUL::Node;

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

DESCRIPTION

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

CONSTANTS

FLEX
flex="1"
ALIGN_START
align="start";
ALIGN_CENTER
align="center"
ALIGN_END
align="end"
ALIGN_BASELINE
align="baseline"
ALIGN_STRETCH
align="stretch"
ALIGN_LEFT
align="left"
ALIGN_RIGHT
align="right"
PACK_START
pack="start"
PACK_CENTER
pack="center"
PACK_END
pack="end"
ORIENT_HORIZONTAL
orient="horizontal"
ORIENT_VERTICAL
orient="vertical"
DIR_FORWARD
dir="forward"
DIR_REVERSE
dir="reverse"
CROP_START
crop="start"
CROP_CENTER
crop="center"
CROP_END
crop="end"
SIZE_TO_CONTENT
sizeToContent="1"
DISABLED
disabled="1"
ENABLED
disabled="0"
TYPE_CHECKBOX
type="checkbox"
TYPE_RADIO
type="radio"
TYPE_MENU
type="menu"
TYPE_MENU_BUTTON
type="menu-button"
TYPE_BUTTON
type="button"
TYPE_PASSWORD
type="password"
FILL
align="stretch" stretch="1"

AUTHOR

Philip Gwyn <gwyn-at-cpan.org>

CREDITS

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

COPYRIGHT AND LICENSE

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.

SEE ALSO

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