ZConf::Cron::GUI::GTK - Implements a GTK backend for ZConf::Cron::GUI
Version 1.0.0
use ZConf::Cron::GUI::GTK; my $zcc=$ZConf::Cron->new; my $zccg=ZConf::Cron::GUI::GTK->new({zccron=>$zcc});
This initializes it.
One arguement is taken and that is a hash value.
This is a ZConf::Cron object to use. If it is not specified, a new one will be created.
This is the ZConf::GUI object. If it is not passed, a new one will be created.
Allows the crontabs to be managed.
This method is blocking.
$zccg->crontab; if($zccg->{error}){ print "Error!\n"; }
Creates a tray icon and menu.
use Gtk2; Gtk2->init; my $guiID=$zccg->tray; $trayicon->show_all; Gtk2->main;
This returns a XPM icon for this module.
my $xpm=$zccg->xpm;
This returns a Gtk2::Image object with it. This is done as getting a Gtk2::Image object from raw data is not a straight forward processes. It requires access to "/tmp/" to write the scratch file.
my $image=$zccg->xpmGtk2Image;
This returns the available dailogs.
This returns a list of available windows.
This blanks the error storage and is only meant for internal usage.
It does the following.
$self->{error}=undef; $self->{errorString}="";
These methods are entirely related to the tray method.
This method refresheses the menu.
It takes one arguement and it is a hash reference.
This is the GUI ID of the tray GUI.
This is the ZConf::Cron::GUI::GTK object.
This pops the menu up.
ask
At this time, no windows are supported.
Initializing ZConf::Cron failed.
Could not run "gtk-gzccrontab" as it was not found in the path.
'gtk-gzccrontab' exited with a non-zero.
Zane C. Bowers, <vvelox at vvelox.net>
<vvelox at vvelox.net>
Please report any bugs or feature requests to bug-zconf-runner at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ZConf-Runner. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-zconf-runner at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc ZConf::Cron::GUI
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=ZConf-Cron-GUI-GTK
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/ZConf-Cron-GUI-GTK
CPAN Ratings
http://cpanratings.perl.org/d/ZConf-Cron-GUI-GTK
Search CPAN
http://search.cpan.org/dist/ZConf-Cron-GUI-GTK
Copyright 2009 Zane C. Bowers, 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::Cron::GUI::GTK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ZConf::Cron::GUI::GTK
CPAN shell
perl -MCPAN -e shell install ZConf::Cron::GUI::GTK
For more information on module installation, please visit the detailed CPAN module installation guide.