gimp_unit_get_symbol << INDEX >> gimp_unit_set_deletion_flag

gimp_unit_new (1999)

NAME
gimp_unit_new - Creates a new unit and returns it's integer ID.
SYNOPSIS
unit_id = gimp_unit_new (identifier,factor,digits,symbol,abbreviation,singular,plural)
DESCRIPTION
This procedure creates a new unit and returns it's integer ID. Note that the new unit will have it's deletion flag set to TRUE, so you will have to set it to FALSE with gimp_unit_set_deletion_flag to make it persistent.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
STRINGidentifierThe new unit's identifier
FLOATfactorThe new unit's factor
INT32digitsThe new unit's digits
STRINGsymbolThe new unit's symbol
STRINGabbreviationThe new unit's abbreviation
STRINGsingularThe new unit's singular form
STRINGpluralThe new unit's plural form
RETURN VALUES
TYPENAMEDESCRIPTION
INT32unit_idThe new unit's ID
SOME SYNTAX ALTERNATIVES
unit_id = Gimp->unit_new (identifier,factor,digits,symbol,abbreviation,singular,plural)
unit_id = unit_new Layer (identifier,factor,digits,symbol,abbreviation,singular,plural)
unit_id = unit_new Image (identifier,factor,digits,symbol,abbreviation,singular,plural)
unit_id = unit_new Channel (identifier,factor,digits,symbol,abbreviation,singular,plural)
unit_id = unit_new Display (identifier,factor,digits,symbol,abbreviation,singular,plural)
unit_id = unit_new Drawable (identifier,factor,digits,symbol,abbreviation,singular,plural)
AUTHOR
Michael Natterer
(c)1999 Michael Natterer


This page was created by gimpdoc, written by Marc Lehmann <pcg@goof.com>