traitsui.editors.scrubber_editor module

Editor factory for scrubber-based integer or float value editors.

class traitsui.editors.scrubber_editor.ScrubberEditor(*args, **traits)[source]

Bases: BasicEditorFactory

active_color = Color(None)

The active mode background color for the scrubber:

alignment = Alignment("center")

The alignment of the text within the scrubber:

border_color = Color(None)

The scrubber border color:

color = Color(None)

The background color for the scrubber:

high = Float()

The high end of the scrubber range:

hover_color = Color(None)

The hover mode background color for the scrubber:

increment = Float()

The normal increment (default: auto-calculate):

klass = Property()

The editor class to be instantiated:

low = Float()

The low end of the scrubber range:

text_color = Color("black")

The color to use for the value text: