-
-
22 Aug 2013 00:04:22 UTC
- Distribution: Gtk2-Ex-ErrorTextDialog
- Module version: 11
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Issues (0)
- Testers (1005 / 6 / 0)
- Kwalitee
Bus factor: 1- 88.24% Coverage
- License: open_source
- Perl: v5.8.1
- Activity
24 month- Tools
- Download (71.54KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Kevin Ryde
NAME
Gtk2::Ex::ErrorTextDialog::SaveDialog -- save for ErrorTextDialog
SYNOPSIS
use Gtk2::Ex::ErrorTextDialog::SaveDialog; my $save_dialog = Gtk2::Ex::ErrorTextDialog::SaveDialog->new (transient_for => $errordialog);
WIDGET HIERARCHY
Gtk2::Ex::ErrorTextDialog::SaveDialog
is a subclass ofGtk2::FileChooserDialog
.Gtk2::Widget Gtk2::Container Gtk2::Bin Gtk2::Window Gtk2::Dialog Gtk2::FileChooserDialog Gtk2::Ex::ErrorTextDialog::SaveDialog
DESCRIPTION
This is part of
Gtk2::Ex::ErrorTextDialog
and really not meant for external use.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.
FUNCTIONS
Creation
$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 thetransient-for
parent.my $savedialog = Gtk2::Ex::ErrorTextDialog::SaveDialog->new (transient_for => $errordialog);
But note
transient-for
as a property is new in Gtk 2.10. Use theset_transient_for
method (available in all Gtk) to support prior versions,my $savedialog = Gtk2::Ex::ErrorTextDialog::SaveDialog->new; $savedialog->set_transient_for ($errordialog);
SEE ALSO
Gtk2::Ex::ErrorTextDialog, Gtk2::FileChooserDialog, Gtk2::FileChooser
HOME PAGE
http://user42.tuxfamily.org/gtk2-ex-errortextdialog/
LICENSE
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/.
Module Install Instructions
To install Gtk2::Ex::ErrorTextDialog, copy and paste the appropriate command in to your terminal.
cpanm Gtk2::Ex::ErrorTextDialog
perl -MCPAN -e shell install Gtk2::Ex::ErrorTextDialog
For more information on module installation, please visit the detailed CPAN module installation guide.