has_default


Description:

public static bool has_default (ParamSpec pspec)

This function tells whether a default was set, typically with [func@Gimp.

ParamSpecObject.set_default] or any other way. It does not guarantee that the default is an actual object (it may be null if valid as a default).

Parameters:

pspec

a Object ParamSpec

Returns:

whether a default value was set.