NAME

App::Chart::Gtk2::SubprocessStopMenu -- menu to stop or delete a Subprocess

SYNOPSIS

use App::Chart::Gtk2::SubprocessStopMenu;
my $menu = App::Chart::Gtk2::SubprocessStopMenu->new;
$menu->popup_from_treeview ($event, $treeview);

WIDGET HIERARCHY

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

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

DESCRIPTION

App::Chart::Gtk2::SubprocessStopMenu displays a little menu to stop a given App::Chart::Gtk2::Subprocess.

+--------+
+--------+
| Stop   |
+--------+

This is used by App::Chart::Gtk2::DownloadDialog and has been split out to reduce the amount of code there.

FUNCTIONS

App::Chart::Gtk2::SubprocessStopMenu->new (key=>value,...)

Create and return a new App::Chart::Gtk2::SubprocessStopMenu object. Optional key/value pairs set initial properties as per Glib::Object->new.

PROPERTIES

subprocess (App::Chart::Gtk2::Subprocess object, default undef)

The subprocess to act on in the menu. Normally this is set at the time the menu is popped up. Changing it while popped up works, but might confuse the user.

SEE ALSO

App::Chart::Gtk2::Subprocess, Gtk2::Menu, App::Chart::Gtk2::DownloadDialog