SAKAI Masahiro - Gimp::UI::FileSelection Diff
- Added parts are displayed like this.
- Deleted parts are displayed
like this.
= 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:
--- Gimp::UI::FileSelection.new(title, filename, dir_only = false, check_valid = false)
: 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.
== Methods:
--- Gimp::UI::FileSelection#filename
--- Gimp::UI::FileSelection#filename=(val)
== Signals
--- Gimp::UI::FileSelection#filename_changed
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:
--- Gimp::UI::FileSelection.new(title, filename, dir_only = false, check_valid = false)
: 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.
== Methods:
--- Gimp::UI::FileSelection#filename
--- Gimp::UI::FileSelection#filename=(val)
== Signals
--- Gimp::UI::FileSelection#filename_changed