aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2016-01-01 12:43:42 +0100
committerAngelo Naselli <anaselli@linux.it>2016-01-01 12:43:42 +0100
commit6d0b62543bec51e5360f755d47b02bca4321f7a7 (patch)
treea696a7af132be058491b48ee45d160e979126d01
parent1bc2c054b699ab7f0248bfb98cf3fff9bd96b9a7 (diff)
downloadmanatools-6d0b62543bec51e5360f755d47b02bca4321f7a7.tar
manatools-6d0b62543bec51e5360f755d47b02bca4321f7a7.tar.gz
manatools-6d0b62543bec51e5360f755d47b02bca4321f7a7.tar.bz2
manatools-6d0b62543bec51e5360f755d47b02bca4321f7a7.tar.xz
manatools-6d0b62543bec51e5360f755d47b02bca4321f7a7.zip
Added a useful comment
-rw-r--r--extras/module_templete/ManaTools/Module/ModuleTemplate.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/extras/module_templete/ManaTools/Module/ModuleTemplate.pm b/extras/module_templete/ManaTools/Module/ModuleTemplate.pm
index 1be9d9b0..263627bb 100644
--- a/extras/module_templete/ManaTools/Module/ModuleTemplate.pm
+++ b/extras/module_templete/ManaTools/Module/ModuleTemplate.pm
@@ -91,6 +91,11 @@ sub _SharedUGUIInitialize {
sub start {
my $self = shift;
+ # if you want to use your module into mpan you should consider to
+ # use either Shared::Module::GUI::Dialog to implement your layout
+ # and manage your events or use yui::YUI::app()->setApplicationTitle
+ # and yui::YUI::app()->setApplicationIcon to here
+
$self->sh_gui->msgBox({
text => $self->loc->N("Hello world, I am the beautiful module template")
});