Gocator Development Kit
 All Classes Files Functions Variables Typedefs Friends Modules Pages
kStatus GdkToolInfo_AddParam ( GdkToolInfo  info,
GdkParamType  paramType,
const kChar name,
const kChar label,
const void *  defValue,
GdkParamInfo paramInfo 
)

Adds a parameter to a tool.

Parameters
infoInfo object.
paramTypeTool parameter type. The following types are supported:
nameName of the parameter.
labelLabel of the param. If kNULL, will be set to same as name parameter
defValuePointer to the default value to set the parameter. This depends on the paramType passed.
paramInfoPointer to receive the new input data set's paramInfo object.
Returns
Operation status.