The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Gtk+ 2.4 introduces a new file dialog to replace the aged Gtk2::FileSelection. This new widget is actually an interface known as Gtk2::FileChooser; the most-commonly-used implementation of that interface would be Gtk2::FileChooserDialog, a Gtk2::Dialog which has all the methods defined by Gtk2::FileChooser.

This example shows how to use the file chooser to ask the user for a file name; we also add a preview widget and a shortcut, because we can.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 3:

Unknown directive: =doc