| GIMP Library Reference Manual | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> | 
| struct GimpFileSelection; #define GIMP_FILE_SELECTION (obj) | 
| 
 | 
| "filename-changed" void user_function (GimpFileSelection *gimpfileselection, | 
This widget is used to enter filenames or directories.
There is a 
You can restrict the GimpFileSelection to directories. In this case
the filename listbox of the 
If you specify check_valid as 
Whenever the user changes the filename, the "filename_changed" signal will be emitted.
| #define GIMP_FILE_SELECTION(obj) (GTK_CHECK_CAST ((obj), GIMP_TYPE_FILE_SELECTION, GimpFileSelection)) | 
Checks if the passed pointer is a pointer to a GimpFileSelection and performs the cast if valid.
| 
 | 
Creates a new GimpFileSelection widget.
| title : | The title of the | 
| filename : | The initial filename. | 
| dir_only : |  | 
| check_valid : |  | 
| Returns : | A pointer to the new GimpFileSelection widget. | 
| 
 | 
Note that you have to 
| void        gimp_file_selection_set_filename
                                            (GimpFileSelection *gfs,
                                             const  | 
If you specified check_valid as 
| void user_function (GimpFileSelection *gimpfileselection, | 
This signal is emitted whenever the user changes the filename.