aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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")
});