Method
GimpProcedureadd_unit_argument
since: 3.0
Declaration [src]
void
gimp_procedure_add_unit_argument (
GimpProcedure* procedure,
const gchar* name,
const gchar* nick,
const gchar* blurb,
gboolean show_pixels,
gboolean show_percent,
GimpUnit* value,
GParamFlags flags
)
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 argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. show_pixels-
Type:
gbooleanWhether to allow pixels as a valid option.
show_percent-
Type:
gbooleanWhether to allow percent as a valid option.
value-
Type:
GimpUnitThe default value.
The data is owned by the caller of the function. flags-
Type:
GParamFlagsArgument flags.