From 6d0b62543bec51e5360f755d47b02bca4321f7a7 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Fri, 1 Jan 2016 12:43:42 +0100 Subject: Added a useful comment --- extras/module_templete/ManaTools/Module/ModuleTemplate.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'extras') 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") }); -- cgit v1.2.1