Reaction::UI::Window

Container for rendering the UI elements in
Download

Reaction::UI::Window Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Matt S Trout
  • Publisher web site:
  • http://search.cpan.org/~mstrout/

Reaction::UI::Window Tags


Reaction::UI::Window Description

Container for rendering the UI elements in Reaction::UI::Window is a Perl container for rendering the UI elements in.SYNOPSIS my $window = Reaction::UI::Window->new( ctx => $ctx, view_name => $view_name, content_type => $content_type, title => $window_title, ); # More commonly, as Reaction::UI::Controller::Root creates one for you: my $window = $ctx->stash->{window}; # Resolve current events and render the view of the UI # elements of this Window: # This is called by the end action of Reaction::UI::Controller::Root $window->flush(); # Resolve current events: $window->flush_events(); # Render the top ViewPort in the FocusStack of this Window: $window->flush_view(); # Render a particular ViewPort: $window->render_viewport($viewport); # Or in a template: # Add a ViewPort to the UI: $window->focus_stack->push_viewport('Reaction::UI::ViewPort');A Window object is created and stored in the stash by Reaction::UI::Controller::Root, it is used to contain all the elements (ViewPorts) that make up the UI. The Window is rendered in the end action of the Root Controller to make up the page. Requirements: · Perl


Reaction::UI::Window Related Software