XSlider (hwx.gui)¶
A movable vertical line
- Inherits:
Properties¶
Public Methods¶
decorateEnabled (self, enabled)
delete (self)
formatHoverText (self, value)
hover (self)
pick (self, event)
setValue (self, name, value)
unhover (self)
Property Details¶
- property value¶
The x value of the slider.
Method Details¶
- decorateEnabled(self, enabled)¶
the plot was enabled or disabled, set the color.
- delete(self)¶
Deletes the slider.
- formatHoverText(self, value)¶
Formats the hover text of the slider
- param value
The slider hover text value
- type value
float
- hover(self)¶
When the line is hovered.
- pick(self, event)¶
When the line is picked from the plot this method gets called
- param event
The mouse event when clicked on the line
- type event
MouseEvent
- returns
A reference to the instance Line object on which it was called or None
- rtype
Line
- setValue(self, name, value)¶
Sets the value for the named property
- param name
The property name to set value for
- type name
str
- param value
The value to set for the Slider
- type value
Union[list, tuple, dict]
- unhover(self)¶
When the line is not hovered.