POE::XUL::Window - XUL window element


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

Index


NAME

Top

POE::XUL::Window - XUL window element

SYNOPSIS

Top

    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();

DESCRIPTION

Top

POE::XUL::Window is a special sub-class of POE::XUL::Node to handle window elements.

METHODS

Top

getElementById

node

Shorter name for getElementById.

    my $button = window->node( 'B1' );

open

close

destroy

SEE ALSO

Top

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.

AUTHOR

Top

Philip Gwyn <gwyn-at-cpan.org>

CREDITS

Top

Based on work by Ran Eilam.

COPYRIGHT AND LICENSE

Top


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