Bases: enaml.widgets.control.Control
A spin box widget which manipulates integer values.
The minimum value for the spin box. Defaults to 0.
The maximum value for the spin box. Defaults to 100.
The current integer value for the spin box, constrained to minimum <= value <= maximum.
An optional prefix to include in the displayed text.
An optional suffix to include in the displayed text.
Optional text to display when the spin box is at its minimum. This allows the developer to indicate to the user a special significance to the minimum value e.g. “Auto”
The step size for the spin box. Defaults to 1.
Whether or not the spin box is read-only. If True, the user will not be able to edit the values in the spin box, but they will still be able to copy the text to the clipboard.
Whether or not the spin box will wrap around at its extremes. Defaults to False.
How strongly a component hugs it’s contents’ width. SpinBoxes ignore the width hug by default, so they expand freely in width.
A method called after initialization which allows the widget to bind any event handlers necessary.
alias of __NoInterface__
digraph inheritancebf38afd2f2 { rankdir=LR; width=8.0; ratio=compress; fontsize=14; size="8.0, 12.0"; "QtWidget" [style="setlinewidth(0.5)",URL="enaml.widgets.widget.Widget.html#enaml.qt.qt_widget.QtWidget",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "QtObject" -> "QtWidget" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QtControl" [style="setlinewidth(0.5)",URL="enaml.widgets.control.Control.html#enaml.qt.qt_control.QtControl",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "QtConstraintsWidget" -> "QtControl" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QtConstraintsWidget" [style="setlinewidth(0.5)",URL="enaml.widgets.constraints_widget.ConstraintsWidget.html#enaml.qt.qt_constraints_widget.QtConstraintsWidget",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "QtWidget" -> "QtConstraintsWidget" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QtObject" [shape=box,style="setlinewidth(0.5)",fontsize=10,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25]; "QtSpinBox" [style="setlinewidth(0.5)",URL="#enaml.qt.qt_spin_box.QtSpinBox",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "QtControl" -> "QtSpinBox" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
Bases: enaml.qt.qt_control.QtControl
A Qt implementation of an Enaml SpinBox.
Handler for the ‘set_special_value_text’ action from the Enaml widget.
Handler for the ‘set_single_step’ action from the Enaml widget.
Handler for the ‘set_read_only’ action from the Enaml widget.
digraph inheritance0fe0a3a8eb { rankdir=LR; width=8.0; ratio=compress; fontsize=14; size="8.0, 12.0"; "WxObject" [shape=box,style="setlinewidth(0.5)",fontsize=10,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25]; "WxConstraintsWidget" [style="setlinewidth(0.5)",URL="enaml.widgets.constraints_widget.ConstraintsWidget.html#enaml.wx.wx_constraints_widget.WxConstraintsWidget",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "WxWidget" -> "WxConstraintsWidget" [arrowsize=0.5,style="setlinewidth(0.5)"]; "WxWidget" [style="setlinewidth(0.5)",URL="enaml.widgets.widget.Widget.html#enaml.wx.wx_widget.WxWidget",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "WxObject" -> "WxWidget" [arrowsize=0.5,style="setlinewidth(0.5)"]; "WxSpinBox" [style="setlinewidth(0.5)",URL="#enaml.wx.wx_spin_box.WxSpinBox",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "WxControl" -> "WxSpinBox" [arrowsize=0.5,style="setlinewidth(0.5)"]; "WxControl" [style="setlinewidth(0.5)",URL="enaml.widgets.control.Control.html#enaml.wx.wx_control.WxControl",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "WxConstraintsWidget" -> "WxControl" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
Bases: enaml.wx.wx_control.WxControl
A Wx implementation of an Enaml SpinBox.
Handler for the ‘set_special_value_text’ action from the Enaml widget.
Handler for the ‘set_single_step’ action from the Enaml widget.
Handler for the ‘set_read_only’ action from the Enaml widget.