Struct

GimpUiFileEntry

Description [src]

struct GimpFileEntry {
  /* No available fields */
}

This widget is used to enter filenames or directories.

There is a GtkEntry for entering the filename manually and a “…” button which will pop up a GtkFileChooserDialog.

You can restrict the GimpFileEntry to directories. In this case the filename listbox of the GtkFileChooser dialog will be set to directory mode.

If you specify check_valid as TRUE in gimp_file_entry_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.