POE::XUL::Constants - XUL attribute helpers


POE-XUL documentation  | view source Contained in the POE-XUL distribution.

Index


NAME

Top

POE::XUL::Constants - XUL attribute helpers

SYNOPSIS

Top

    use POE::XUL::Node;

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

DESCRIPTION

Top

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

CONSTANTS

Top

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

Top

Philip Gwyn <gwyn-at-cpan.org>

CREDITS

Top

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

COPYRIGHT AND LICENSE

Top

SEE ALSO

Top

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


POE-XUL documentation  | view source Contained in the POE-XUL distribution.