my $xacobeo = Xacobeo::App->get_app();
my $window = $xacobeo->new_window();
# Start the main loop
DESCRIPTIONInstance to the main application. This singleton is used to manage the life-time of the application, its widgets (specially the main windows) and to setup the application. =head1 PROPERTIES
The following properties are defined:
confA reference to the main configuration singleton.
windowsThe windows available.
METHODSThe package defines the following methods:
get_appReturns the current application instance. This class is a singleton so there's no constructor.
get_windowsReturns the windows created so far.
new_windowCreates a new window and shows it.
load_pluginsLoads the plugins that are available.
load_pluginLoads a plugin based on the given description file.
The file describing the plugin.
AUTHORSEmmanuel Rodriguez <[email protected]>.
COPYRIGHT AND LICENSECopyright (C) 2008,2009 by Emmanuel Rodriguez.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.