Gimp.ParamSpecObject.set_default
function set_default(pspec: GObject.ParamSpec, default_value: GObject.Object): void {
// Gjs wrapper for gimp_param_spec_object_set_default()
}
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).
- pspec
- default_value
a default value.