NAME

Tk::AppWindow::BaseClasses::PluginJobs - Baseclass for plugins using background jobs.

SYNOPSIS

#This is useless
my $plug = Tk::AppWindow::BaseClasses::PluginJobs->new($frame);

#This is what you should do
package My::App::Path::Plugins::MyPlugin
use base(Tk::AppWindow::BaseClasses::PluginJobs);
sub new {
   my $class = shift;
   my $self = $class->SUPER::new(@_); #$mainwindow should be the first in @_
   ...
   return $self
}

DESCRIPTION

This is a base class for plugins using the Daemon extension for background jobs.

All job names are made unique by adding the name of the plugin at the end of the $name you see in this document.

METHODS

intervalI(?$interval?>

Sets and gets the interval for jobs. Default value 100. To clarify, in miliseconds that would be 100 times the interval value of the Daemons extension.

jobEnd($name)
jobExists($name)
jobList
jobPause($name)
jobRestart($name)
jobResume($name)
jobStart($name)

AUTHOR

Hans Jeuken (hanje at cpan dot org)

BUGS

Unknown. If you find any, please contact the author.

SEE ALSO

Tk::AppWindow::BaseClasses::Plugin
Tk::AppWindow