================= SpinBox (hwx.gui) ================= A SpinBox Widget. SpinBox allows to choose a value by clicking the up/down buttons or pressing up/down on the keyboard to increase/decrease the displayed value. The upper and lower bounds are defined by the min and max properties. The user can also type the value manually. The SpinBox supports integer values and invokes the callback command every time the value is changed. Inherits: - :ref:`Widget (hwx.gui)` ---------- Properties ---------- +---------+---------+---------+ | max_ | min_ | prefix_ | +---------+---------+---------+ | step_ | suffix_ | | +---------+---------+---------+ -------------- Public Methods -------------- +-------------------------+ | setValue_ (self, value) | +-------------------------+ ---------------- Property Details ---------------- .. _max: .. method:: max The maximum integer value. .. _min: .. method:: min The minimum integer value. .. _prefix: .. method:: prefix The text that appears before the int. .. _step: .. method:: step The value by which SpinBox is increased/decreased when you click the arrows. .. _suffix: .. method:: suffix The text that appears after the int. -------------- Method Details -------------- .. _setValue: .. method:: setValue(self, value) Sets the specified value after converting it into an integer. :param value: The numeric value to be set for the SpinBox. :type value: int