Gimp::UI::FileSelection
Gimp::UI::FileSelection
This widget is used to enter filenames or directories.
There is a Gtk::Entry? for entering the filename manually and a "..." button which will pop up a Gtk::FileSelection? dialog.
You can restrict the Gimp::FileSelection to directories. In this case the filename listbox of the Gtk::FileSelection dialog will be hidden.
If you specify check_valid as TRUE in FileSelection#new() the entered filename will be checked for validity and a pixmap will be shown which indicates if the file exists or not.
Whenever the user changes the filename, the "filename_changed" signal will be emitted.
Class methods:
- title
- The title of the GtkFileSelection dialog.
- filename
- The initial filename.
- dir_only
- TRUE if the file selection should accept directories only.
- check_valid
- TRUE if the widget should check if the entered file really exists.
Keyword(s):
References:[Gimp::UI]