__init__(self,
box,
parent,
text='
' ,
default=0,
min=0,
max=1000,
tooltip=None,
control=<class 'wx._controls.SpinCtrl'>,
width_text=200,
width_button=80,
spacer=0)
(Constructor)
| source code
|
Create a text selection element using a spinner for the frame.
This consists of a horizontal layout with a static text element and a
spin control
- Parameters:
box (wx.BoxSizer instance) - The box element to pack the structure file selection GUI element
into.
parent (wx object) - The parent GUI element.
text (str) - The static text.
default (int) - The default value of the control.
min (int) - The minimum value allowed.
max (int) - The maximum value allowed.
tooltip (str) - The tooltip which appears on hovering over the text or spin
control.
control (wx.SpinCtrl derived class) - The control class to use.
width_text (int) - The width of the text element.
width_button (int) - The width of the button.
spacer (int) - The horizontal spacing between the elements.
|