02 Sep 2013 11:45:14 UTC
- Distribution: Xacobeo
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (8 / 0 / 1)
- KwaliteeBus factor: 0
- % Coverage
- License: perl_5
- Perl: v5.6.1
- Activity24 month
- Download (279.15KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- COPYRIGHT AND LICENSE
Xacobeo::App - Application
use Xacobeo::App; my $xacobeo = Xacobeo::App->get_app(); my $window = $xacobeo->new_window(); $window->load_file($source, $type); $xacobeo->load_plugins(); # Start the main loop Gtk2->main();
Instance 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:
A reference to the main configuration singleton.
The windows available.
The package defines the following methods:
Returns the current application instance. This class is a singleton so there's no constructor.
Returns the windows created so far.
Creates a new window and shows it.
Loads the plugins that are available.
Loads a plugin based on the given description file.
The file describing the plugin.
Emmanuel Rodriguez <email@example.com>.
Copyright (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.