set_default


Description:

public static void set_default (ParamSpec pspec, Object? default_value)

Set the default object value of the param spec.

This will switch the `has_default` flag so that [func@Gimp.ParamSpecObject.has_default] will now return true .

A null default_value still counts as a default (unless the specific pspec does not allow null as a default).

Parameters:

pspec

a Object ParamSpec

default_value

a default value.