Method

GimpProcedureadd_file_argument

since: 3.0

Declaration [src]

void
gimp_procedure_add_file_argument (
  GimpProcedure* procedure,
  const gchar* name,
  const gchar* nick,
  const gchar* blurb,
  GimpFileChooserAction action,
  gboolean none_ok,
  GFile* default_file,
  GParamFlags flags
)

Description [src]

Add a new GFile argument to procedure.

Available since: 3.0

Parameters

name

Type: const gchar*

The name of the argument to be created.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
nick

Type: const gchar*

The label used in GimpProcedureDialog.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
blurb

Type: const gchar*

A more detailed help description.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
action

Type: GimpFileChooserAction

The type of file to expect.

none_ok

Type: gboolean

Whether NULL is allowed.

default_file

Type: GFile

File to use if none is assigned.

The argument can be NULL.
The data is owned by the caller of the function.
flags

Type: GParamFlags

Argument flags.