Kevin Ryde
and 1 contributors

NAME

App::Chart::Gtk2::JobStopMenu -- menu to stop or delete a Job

SYNOPSIS

 use App::Chart::Gtk2::JobStopMenu;
 my $menu = App::Chart::Gtk2::JobStopMenu->new;

 $menu->popup_from_treeview ($event, $treeview);

WIDGET HIERARCHY

App::Chart::Gtk2::JobStopMenu is a subclass of Gtk::Menu,

    Gtk2::Widget
      Gtk2::Container
        Gtk2::MenuShell
          Gtk2::Menu
            App::Chart::Gtk2::JobStopMenu

DESCRIPTION

A App::Chart::Gtk2::JobStopMenu displays a little menu to stop or delete a given 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.

FUNCTIONS

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.

PROPERTIES

job (App::Chart::Gtk2::Job, default undef)

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.

SEE ALSO

App::Chart::Gtk2::Job, Gtk2::Menu, App::Chart::Gtk2::DownloadDialog