$mainDisplay = new ManaTools::MainDisplay(); $mainDisplay->start(); $mainDisplay->cleanup();
ManaTools::MainDisplay implements the main window panel adding buttons reading the configuration for every categories and modules
You can find documentation for this module with the perldoc command: perldoc ManaTools::MainDisplay
Steven Tucker
Copyright (C) 2012-2016, Angelo Naselli. Copyright (C) 2012, Steven Tucker. ManaTools is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. ManaTools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with ManaTools. If not, see <http://www.gnu.org/licenses/>.
hash ref containing configDir: configuration files directory name: application name, logging identity, configuration subdirectory
other attributes
title: window title got from configuration file, default is name. categories: ArrayRef[ManaTools::Category] settings: HashRef containing settings file content currCategory: Selected category mainWin: Main Dialog window factory: yui::YUI::widgetFactory menus: HashRef containing menu items leftPane: left panel layout rightPane: right panel layout rightPaneFrame: right frame (needed for category title) replacePoint: replace point where to set new layout on category selection selectedModule: module to be returned when selected
DESCRIPTION
This method instanziates the MainWindo object, and setups the startup GUI.
$self: this object
OUTPUT
name: application name
DESCRIPTION
Returns the application name as configuration subdirectory. This method is required by ConfifDirRole
contains the main loop of the application where we can check for events
$self: this object
DESCRIPTION
This method cleanup data for a further start.
$self: this object
DESCRIPTION
This method load configuration and build the GUI layout.