
Public Member Functions | |
| def | __init__ |
| def | get_value |
Public Attributes | |
| index | |
| choices | |
| labels | |
Private Member Functions | |
| def | _handle_changed |
House a drop down or radio buttons for variable control.
Definition at line 47 of file callback_controls.py.
| def grc_gnuradio.wxgui.callback_controls._chooser_control_base.__init__ | ( | self, | ||
| window, | ||||
| callback, | ||||
label = 'Label', |
||||
index = 0, |
||||
choices = [0], |
||||
labels = [] | ||||
| ) |
Chooser contructor. Create the slider, text box, and label.
| window | the wx parent window | |
| callback | call the callback on changes | |
| label | the label title | |
| index | the default choice index | |
| choices | a list of choices | |
| labels | the choice labels or empty list |
Definition at line 50 of file callback_controls.py.
| def grc_gnuradio.wxgui.callback_controls._chooser_control_base._handle_changed | ( | self, | ||
event = None | ||||
| ) | [private] |
A change is detected. Call the callback.
Definition at line 70 of file callback_controls.py.
| def grc_gnuradio.wxgui.callback_controls._chooser_control_base.get_value | ( | self | ) |
Update the chooser.
Reimplemented from grc_gnuradio.wxgui.callback_controls._control_base.
Definition at line 77 of file callback_controls.py.
Reimplemented in grc_gnuradio.wxgui.callback_controls.button_control, grc_gnuradio.wxgui.callback_controls.drop_down_control, and grc_gnuradio.wxgui.callback_controls._radio_buttons_control_base.
Definition at line 65 of file callback_controls.py.
Definition at line 66 of file callback_controls.py.
Definition at line 67 of file callback_controls.py.
1.5.4