App::Chart::Gtk2::JobStopMenu -- menu to stop or delete a Job
use App::Chart::Gtk2::JobStopMenu; my $menu = App::Chart::Gtk2::JobStopMenu->new; $menu->popup_from_treeview ($event, $treeview);
App::Chart::Gtk2::JobStopMenu is a subclass of Gtk::Menu,
App::Chart::Gtk2::JobStopMenu
Gtk::Menu
Gtk2::Widget Gtk2::Container Gtk2::MenuShell Gtk2::Menu App::Chart::Gtk2::JobStopMenu
A App::Chart::Gtk2::JobStopMenu displays a little menu to stop or delete a given App::Chart::Gtk2::Job.
App::Chart::Gtk2::Job
+--------+ +--------+ | Stop | +--------+ | Delete | +--------+
This is used by App::Chart::Gtk2::DownloadDialog and has been split out to reduce the amount of code there.
App::Chart::Gtk2::DownloadDialog
App::Chart::Gtk2::JobStopMenu->new (key=>value,...)
Create and return a new App::Chart::Gtk2::JobStopMenu object. Optional key/value pairs set initial properties as per Glib::Object->new.
Glib::Object->new
job
The job to be acted on by the menu. Normally this is set at the time the menu is popped up. Changing it while popped up works, but could confuse the user.
App::Chart::Gtk2::Job, Gtk2::Menu, App::Chart::Gtk2::DownloadDialog
To install App::Chart, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Chart
CPAN shell
perl -MCPAN -e shell install App::Chart
For more information on module installation, please visit the detailed CPAN module installation guide.