Constructor
GimpUiFileChoosernew
since: 3.0
Declaration [src]
GtkWidget*
gimp_file_chooser_new (
GimpFileChooserAction action,
const gchar* label,
const gchar* title,
GFile* file
)
Description [src]
Creates a new GtkWidget that lets a user choose a file according to
action.
GimpFileChooserAction is not a valid value for action.
Available since: 3.0
Parameters
action-
Type:
GimpFileChooserActionThe action determining the UI created for this widget.
label-
Type:
const gchar*Label or
NULLfor no label.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. title-
Type:
const gchar*Title of the dialog to use or
NULLto reuselabel.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. file-
Type:
GFileInitial file.
The argument can be NULL.The data is owned by the caller of the function.
Return value
Type: GtkWidget
| The data is owned by the called function. |