Xacobeo::App(3pm)

Xacobeo::App3pm

Application

Usage

        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();

Overview

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:

conf

A reference to the main configuration singleton.

windows

The windows available.

Methods

The package defines the following methods:

get_app

Returns the current application instance. This class is a singleton so there's no constructor.

get_windows

Returns the windows created so far.

new_window

Creates a new window and shows it.

load_plugins

Loads the plugins that are available.

load_plugin

Loads a plugin based on the given description file.

Parameters:

•

$file

The file describing the plugin.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

Authors

Emmanuel Rodriguez <[email protected]>.

From xacobeo 0.15-3+b2 in Debian 9 (Stretch). Parsed by carta from the page's man source.