The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Chart::Gtk2::DeleteDialog -- query user to delete symbol from database

SYNOPSIS

 use App::Chart::Gtk2::DeleteDialog;
 App::Chart::Gtk2::DeleteDialog->popup ($symbol, $parent_window);

WIDGET HIERARCHY

App::Chart::Gtk2::DeleteDialog is a subclass of Gtk2::MessageDialog.

    Gtk2::Widget
      Gtk2::Container
        Gtk2::Bin
          Gtk2::Window
            Gtk2::Dialog
              Gtk2::MessageDialog
                App::Chart::Gtk2::DeleteDialog

DESCRIPTION

A App::Chart::Gtk2::DeleteDialog asks the user whether to delete a given symbol from the database and if the answer is yes then it does so.

FUNCTIONS

$dialog = App::Chart::Gtk2::DeleteDialog->popup ($symbol, $parent_window)

Create and popup a dialog asking the user whether to delete $symbol. The dialog is created modal, and transient for the given $parent_window. Eg.

    App::Chart::Gtk2::DeleteDialog->popup ('FOO.ZZ', $toplevel);

The return value is the dialog created, but usually that can be ignored -- when the user answers it the dialog is destroyed.

$dialog = App::Chart::Gtk2::DeleteDialog->new (key=>value,...)

Create and return a App::Chart::Gtk2::DeleteDialog. Optional key/value pairs set initial properties as per Glib::Object->new(). The dialog is not displayed (but can be with show in the usual way).

PROPERTIES

symbol (string)

The stock symbol to ask the user about and delete. This can be changed while the dialog is open (and the question text updates accordingly), but doing so is likely to confuse the user.

SEE ALSO

App::Chart::Database, Gtk2::MessageDialog

HOME PAGE

http://user42.tuxfamily.org/chart/index.html

LICENCE

Copyright 2007, 2008, 2009, 2010, 2011, 2013 Kevin Ryde

Chart is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

Chart is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Chart; see the file COPYING. Failing that, see http://www.gnu.org/licenses/.