App::Chart::Gtk2::DeleteDialog -- query user to delete symbol from database
use App::Chart::Gtk2::DeleteDialog; App::Chart::Gtk2::DeleteDialog->popup ($symbol, $parent_window);
App::Chart::Gtk2::DeleteDialog is a subclass of Gtk2::MessageDialog.
App::Chart::Gtk2::DeleteDialog
Gtk2::MessageDialog
Gtk2::Widget Gtk2::Container Gtk2::Bin Gtk2::Window Gtk2::Dialog Gtk2::MessageDialog App::Chart::Gtk2::DeleteDialog
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.
$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.
$symbol
$parent_window
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).
Glib::Object->new()
show
symbol
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.
App::Chart::Database, Gtk2::MessageDialog
http://user42.tuxfamily.org/chart/index.html
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/.
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.