get_default


Description:

public static unowned Object get_default (ParamSpec pspec)

Get the default object value of the param spec.

If the pspec has been registered with a specific default (which can be verified with [func@Gimp.ParamSpecObject.has_default] ), it will be returned, though some specific subtypes may support returning dynamic default (e.g. based on context).

Parameters:

pspec

a Object ParamSpec

Returns:

the default value.