class controls.IntField(ValueField)
An IntField is a field for editing an integer value.
Methods
- get_value()
- Returns the current value as an integer. Raises a ValueError if the field does not contain a valid integer or is empty and no empty value has been specified.
- set_value(value)
- Sets the current value to the given integer, or empties the field if value is equal to the specified empty value.
---