FileChooser


Description:

[ CCode ( cname = "gimp_file_chooser_new" , has_construct_function = false , type = "GtkWidget*" ) ]
public FileChooser (FileChooserAction action, string? label, string? title, File? file)

Creates a new Widget that lets a user choose a file according to action .

[enum@Gimp.FileChooserAction.ANY] is not a valid value for action.

Parameters:

action

the action determining the UI created for this widget.

label

Label or null for no label.

title

Title of the dialog to use or null to reuse label.

file

Initial file.

Returns:

A [class@GimpUi.FileChooser].