NumericValueWidget#

class NumericValueWidget#

A widget that represents a numeric value with optional min/max bounds.

Inherited from VirtualWidget

get_max_value() int#

Get upper bound of the value.

Returns:

Maximum value of the range.

get_min_value() int#

Get lower bound of the value.

Returns:

Minimum value of the range.

get_value() int#

Get value contained in the widget.

Returns:

Value contained in the widget.

set_max_value(max_value) None#

Set upper bound of the value.

Parameters:

max_value – Maximum value of the range.

set_min_value(min_value) None#

Set lower bound of the value.

Parameters:

min_value – Minimum value of the range.

set_value(value) None#

Set value contained in the widget.

Parameters:

value – Number value.