GIMP Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
GimpFileSelection
Synopsis
struct GimpFileSelection; #define GIMP_FILE_SELECTION (obj) |
Object Hierarchy
|
Signal Prototypes
"filename-changed" void user_function (GimpFileSelection *gimpfileselection, |
Description
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.
Details
GIMP_FILE_SELECTION()
#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.
gimp_file_selection_new ()
|
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. |
gimp_file_selection_get_filename ()
|
Note that you have to
gimp_file_selection_set_filename ()
void gimp_file_selection_set_filename (GimpFileSelection *gfs, const |
If you specified check_valid as
Signals
The "filename-changed" signal
void user_function (GimpFileSelection *gimpfileselection, |
This signal is emitted whenever the user changes the filename.