Rui::Application::Base - abstract application base class
# 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;
the Rui::Widget::Factory manpage, Rui::Remote::SessionManager
Rui applications inherit from this class. An application is a window, but there is only one per session.
The only thing to override is start()
, where you create the UI.