prop_file_chooser_button_new


Description:

[ CCode ( cname = "gimp_prop_file_chooser_button_new" ) ]
[ Version ( since = "2.4" ) ]
public Widget prop_file_chooser_button_new (Object config, string property_name, string? title, FileChooserAction action)

Creates a FileChooserButton to edit the specified path property.

property_name must represent either a GIMP_PARAM_SPEC_CONFIG_PATH or a G_PARAM_SPEC_OBJECT where `value_type == G_TYPE_FILE`.

Note that FileChooserButton implements the FileChooser interface; you can use the FileChooser API with it.

Parameters:

config

object to which property is attached.

property_name

name of path property.

title

the title of the browse dialog.

action

the open mode for the widget.

Returns:

A new FileChooserButton.


Namespace: GimpUi
Package: gimp-ui-3.0