Gtk2::Ex::Dialogs::ChooseFile is a Perl module that provides a file selection dialog.
SYNOPSIS
use Gtk2::Ex::Dialogs::ChooseFile ( destroy_with_parent => TRUE,
modal => TRUE );
# do some stuff like creating your app's main $window then,
# to ensure that all messages use the right parent, set it:
$Gtk2::Ex::Dialogs::ChooseFile::parent_window = $window;
# now popup a new dialog for opening a file
my $file = ask_to_open
Gtk2::Ex::Dialogs::ChooseFile ( "/path/to/something" );
# ok, now we need to save (as...) a file
my $save = ask_to_save
Gtk2::Ex::Dialogs::ChooseFile ( "/path/to/something" );
This module provides a simple file chooser api that wraps Gtk2::FileChooser objectively. The objective is a simple ways to prompt a user to open or save a file.
Product's homepage
Requirements:
· Perl