{"id":6855,"date":"2022-12-20T19:33:44","date_gmt":"2022-12-20T22:33:44","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/manatoolsmaindisplay-man3\/"},"modified":"2022-12-20T19:33:44","modified_gmt":"2022-12-20T22:33:44","slug":"manatoolsmaindisplay-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/manatoolsmaindisplay-man3\/","title":{"rendered":"ManaTools::MainDisplay (man3)"},"content":{"rendered":"<h1 align=\"center\">ManaTools::MainDisplay<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#METHODS\">METHODS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#SUPPORT\">SUPPORT<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#COPYRIGHT and LICENSE\">COPYRIGHT and LICENSE<\/a><br \/> <a href=\"#METHODS\">METHODS<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">ManaTools::MainDisplay \u2212 class for ManaTools main window<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">$mainDisplay = new ManaTools::MainDisplay(); <br \/> $mainDisplay\u2212>start(); <br \/> $mainDisplay\u2212>cleanup();<\/p>\n<h2>METHODS <a name=\"METHODS\"><\/a> <\/h2>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">ManaTools::MainDisplay implements the main window panel adding buttons <br \/> reading the configuration for every categories and modules<\/p>\n<h2>SUPPORT <a name=\"SUPPORT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">You can find documentation for this module with the perldoc command: <br \/> perldoc ManaTools::MainDisplay<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Steven Tucker<\/p>\n<h2>COPYRIGHT and LICENSE <a name=\"COPYRIGHT and LICENSE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright (C) 2012\u22122017, Angelo Naselli. <br \/> Copyright (C) 2012, Steven Tucker. <br \/> ManaTools is free software: you can redistribute it and\/or modify <br \/> it under the terms of the GNU General Public License as published by <br \/> the Free Software Foundation, either version 2 of the License, or <br \/> (at your option) any later version. <br \/> ManaTools is distributed in the hope that it will be useful, <br \/> but WITHOUT ANY WARRANTY; without even the implied warranty of <br \/> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the <br \/> GNU General Public License for more details. <br \/> You should have received a copy of the GNU General Public License <br \/> along with ManaTools. If not, see <http:\/\/www.gnu.org\/licenses\/>.<\/p>\n<h2>METHODS <a name=\"METHODS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>new<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">hash ref containing <br \/> configDir: configuration files directory <br \/> name: application name, logging identity, <br \/> configuration subdirectory<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>other attributes<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">title: window title got from configuration file, <br \/> default is name. <br \/> categories: ArrayRef[ManaTools::Category] <br \/> settings: HashRef containing settings file content <br \/> currCategory: Selected category <br \/> mainWin: Main Dialog window <br \/> factory: yui::YUI::widgetFactory <br \/> menus: HashRef containing menu items <br \/> leftPane: left panel layout <br \/> rightPane: right panel layout <br \/> rightPaneFrame: right frame (needed for category title) <br \/> replacePoint: replace point where to set new layout on <br \/> category selection <br \/> selectedModule: module to be returned when selected<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This method instanziates the MainWindo object, and setups <br \/> the startup GUI.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>configName<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>OUTPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">name: application name<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Returns the application name as configuration subdirectory. <br \/> This method is required by ConfifDirRole<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>start<\/b> <br \/> contains the main loop of the application <br \/> where we can check for events<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>cleanup<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This method cleanup data for a further start.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>_setupGui<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This method load configuration and build the GUI layout.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  ManaTools::MainDisplay \u2212 class for ManaTools main window <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3007,3220],"class_list":["post-6855","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-man3","tag-manatoolsmaindisplay"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6855","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=6855"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6855\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}