Creates a new GimpParamSpecResource specifying a [type@Resource] property.
See [func@GObject.ParamSpec.internal] for details on property names.
default_to_context cannot be true for a resource_type of value [
class@Gimp.Resource], but only for specific subtypes. If it is true, default_value must be
null. Instead of a fixed default, whatever is the context's resource for the given type at run time will
be used as dynamic default.
| name |
Canonical name of the property specified. |
| nick |
Nick name of the property specified. |
| blurb |
Description of the property specified. |
| resource_type |
a gtype, subtype of [class@Gimp.Resource]. |
| none_ok |
Whether null is a valid value. |
| default_value |
Default resource. |
| default_to_context |
Whether the context is the context's resource for the given |
| flags |
Flags for the property specified. |
|
The newly created |