ZConf::template::GUI -
Version 0.0.0
Quick summary of what the module does.
Perhaps a little code snippet.
use ZConf::template::GUI; my $foogui = ZConf::template::GUI->new(); ...
This is object returned by %%%PARENT%%%.
my $foogui=ZConf::template::GUI->new({obj=>$obj}); if($foogui->{error}){ print "Error!\n"; }
Runs some application.
$foogui->app; if($foogui->{error}){ warn('error '.$foogui->error.': '.$foogui->errorString); }
If this returns true, it means it has a application.
my $hasApp=$foogui->hasApp; if($foogui->{error}){ warn('error '.$foogui->error.': '.$foogui->errorString); }else{ if($hasApp){ print "Yes\n"; } }
This returns a array of available dialogs.
my @dialogs=$foogui->dialogs; if($foogui->{error}){ warn('error '.$foogui->error.': '.$foogui->errorString); }
This checks if the loaded backend supports a specific dialog.
my $supported=$foogui->hasDialog($dialogName); if($foogui->error){ warn('error '.$foogui->error.': '.$foogui->errorString); } if(!supported){ warn($dialogName.' is not supported'); }
This checks if the loaded backend supports a specific window.
my $supported=$foogui->hasWindow($windowName); if($foogui->error){ warn('error '.$foogui->error.': '.$foogui->errorString); } if(!supported){ warn($windowName.' is not supported'); }
my @windows=$foogui->windows; if($foogui->{error}){ warn('error '.$foogui->error.': '.$foogui->errorString); }
This returns the current error code if one is set. If undef/evaulates as false then no error is present. Other wise one is.
if($foogui->error){ warn('error '.$foogui->error.': '.$foogui->errorString); }
This returns the current error string. A return of "" means no error is present.
my $errorString=$foogui->errorString;
This blanks the error storage and is only meant for internal usage.
It does the following.
$foogui->{error}=undef; $foogui->{errorString}="";
Failed to initiate %%%PARENT%%%.
Failed to initiate ZConf::GUI.
Failed to get the preferred.
Failed to initiate the backend.
Backend errored.
No backend found via ZConf::GUI->which.
No dialog specified.
%%%AUTHOR%%%, <%%%EMAIL%%%>
<%%%EMAIL%%%>
Please report any bugs or feature requests to bug-zconf-devtemplate at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ZConf-template. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-zconf-devtemplate at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc ZConf::template::GUI
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=%%%PARENT%%%
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/%%%PARENT%%%
CPAN Ratings
http://cpanratings.perl.org/d/%%%PARENT%%%
Search CPAN
http://search.cpan.org/dist/%%%PARENT%%%/
Copyright 2009 %%%AUTHOR%%%, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install ZConf::DevTemplate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ZConf::DevTemplate
CPAN shell
perl -MCPAN -e shell install ZConf::DevTemplate
For more information on module installation, please visit the detailed CPAN module installation guide.