Gtk2::Ex::ErrorTextDialog::SaveDialog -- save for ErrorTextDialog
use Gtk2::Ex::ErrorTextDialog::SaveDialog; my $save_dialog = Gtk2::Ex::ErrorTextDialog::SaveDialog->new (transient_for => $errordialog);
Gtk2::Ex::ErrorTextDialog::SaveDialog is a subclass of Gtk2::FileChooserDialog.
Gtk2::Ex::ErrorTextDialog::SaveDialog
Gtk2::FileChooserDialog
Gtk2::Widget Gtk2::Container Gtk2::Bin Gtk2::Window Gtk2::Dialog Gtk2::FileChooserDialog Gtk2::Ex::ErrorTextDialog::SaveDialog
This is part of Gtk2::Ex::ErrorTextDialog and really not meant for external use.
Gtk2::Ex::ErrorTextDialog
A SaveDialog is popped up by the "Save As" button in an ErrorTextDialog. It gets a filename from the user and saves the error text to that file. SaveDialog is separate for modularity and to slightly reduce the code in the main ErrorTextDialog, because a save may be wanted only rarely.
$savedialog = Gtk2::Ex::ErrorTextDialog::SaveDialog->new (key=>value,...)
Create and return a new ErrorTextDialog. Optional key/value pairs set initial properties as per Glib::Object->new. The originating ErrorTextDialog should be set as the transient-for parent.
Glib::Object->new
transient-for
my $savedialog = Gtk2::Ex::ErrorTextDialog::SaveDialog->new (transient_for => $errordialog);
But note transient-for as a property is new in Gtk 2.10. Use the set_transient_for method (available in all Gtk) to support prior versions,
set_transient_for
my $savedialog = Gtk2::Ex::ErrorTextDialog::SaveDialog->new; $savedialog->set_transient_for ($errordialog);
Gtk2::Ex::ErrorTextDialog, Gtk2::FileChooserDialog, Gtk2::FileChooser
http://user42.tuxfamily.org/gtk2-ex-errortextdialog/
Gtk2-Ex-ErrorTextDialog is Copyright 2007, 2008, 2009, 2010 Kevin Ryde
Gtk2-Ex-ErrorTextDialog 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.
Gtk2-Ex-ErrorTextDialog 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 Gtk2-Ex-ErrorTextDialog. If not, see http://www.gnu.org/licenses/.
To install Gtk2::Ex::ErrorTextDialog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gtk2::Ex::ErrorTextDialog
CPAN shell
perl -MCPAN -e shell install Gtk2::Ex::ErrorTextDialog
For more information on module installation, please visit the detailed CPAN module installation guide.