
Public Member Functions | |
| def | __init__ |
| def | get_value |
Public Attributes | |
| text_box | |
Private Member Functions | |
| def | _handle_enter |
Private Attributes | |
| _value | |
House a Text Box for variable control.
Definition at line 242 of file callback_controls.py.
| def grc_gnuradio.wxgui.callback_controls.text_box_control.__init__ | ( | self, | ||
| window, | ||||
| callback, | ||||
label = 'Label', |
||||
value = 50 | ||||
| ) |
Text box contructor. Create the text box, and label.
| window | the wx parent window | |
| callback | call the callback on changes | |
| label | the label title | |
| value | the default value |
Definition at line 245 of file callback_controls.py.
| def grc_gnuradio.wxgui.callback_controls.text_box_control.get_value | ( | self | ) |
Get the current set value.
Reimplemented from grc_gnuradio.wxgui.callback_controls._control_base.
Definition at line 266 of file callback_controls.py.
| def grc_gnuradio.wxgui.callback_controls.text_box_control._handle_enter | ( | self, | ||
event = None | ||||
| ) | [private] |
An enter key was pressed. Read the text box, call the callback. If the text cannot be evaluated, do not try callback.
Definition at line 273 of file callback_controls.py.
Definition at line 259 of file callback_controls.py.
Definition at line 278 of file callback_controls.py.
1.5.4