- :type default: str
- :param allowed: Allowed value for this attribute
- :type allowed: str
- :param range: Range of the attribute
- :type range: str
- :param set_hook: hook that is related with this attribute
- :type set_hook: str
+ :type default: depends on the type of attribute
+
+ :param allowed: List of values that the attribute can take.
+ This parameter is only meaningful for Enumerate type attributes.
+ :type allowed: list
+
+ :param range: (max, min) tuple with range of possible values for
+ attributes.
+ This parameter is only meaningful for Integer or Double type
+ attributes.
+ :type range: (int, int) or (float, float)
+
+ :param set_hook: Function that will be executed whenever a new
+ value is set for the attribute.
+ :type set_hook: function