Creates a param spec to hold a units param.
See ParamSpec.internal for more information.
| name |
Canonical name of the param |
| nick |
Nickname of the param |
| blurb |
Brief description of param. |
| allow_pixel |
Whether "pixels" is an allowed unit. |
| allow_percent |
Whether "percent" is an allowed unit. |
| default_value |
Unit to use if none is assigned. |
| flags |
a combination of ParamFlags |
|
a newly allocated ParamSpec instance |