See the documentation page for more: FileChooserDialog.my $file; my $dialog = Gtk2::FileChooserDialog->new( 'Select a File', undef, 'open', 'gtk-cancel' => 'cancel', 'gtk-ok' => 'ok', ); if ( "ok" eq $dialog->run ) { $file = $dialog->get_filename; print "file = $file\n"; } $dialog->destroy;
In reply to Re: Gtk2 File Selection
by phenom
in thread Gtk2 File Selection
by Cheater
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |