NAME

Rui::Application::Base - abstract application base class


SYNOPSIS

  # subclassing
  package HelloWorld;
  use base 'Rui::Application::Base';
  sub start { shift->Label(value => 'Hello World') }
  # using as a session
  $application = HelloWorld->new;
  # print the program that is a description of the user
  # interface of the initial application state
  print join "\n", $session->flushBuffer;
  $application->destroy;


SUPERCLASS

the Rui::Window manpage


REQUIRES

the Rui::Widget::Factory manpage, Rui::Remote::SessionManager


DESCRIPTION

Rui applications inherit from this class. An application is a window, but there is only one per session.


SUBCLASSING

The only thing to override is start(), where you create the UI.