fprime_gds.wxgui.src.GDSArgItemComboBox

Module Contents

Classes

ArgItemComboBox(parent, combo_options, label, validator)

Defines the GUI and funcitonality for the GUI element which accepts command arguments with a wx.ComboBox

ComboEnumValidator()

Validator which checks for hex or integer formating of entry.

class fprime_gds.wxgui.src.GDSArgItemComboBox.ArgItemComboBox(parent, combo_options, label, validator)[source]

Bases: wx.Panel

Defines the GUI and funcitonality for the GUI element which accepts command arguments with a wx.ComboBox

setSelection(self, selection)[source]

Set the current selection for the combobox of this gui element

Parameters

{string} -- the string to be selected (selection) –

getSelection(self)[source]

Get the current selection of the combobox in this gui element

Returns

string – the current selection

class fprime_gds.wxgui.src.GDSArgItemComboBox.ComboEnumValidator[source]

Bases: wx.Validator

Validator which checks for hex or integer formating of entry.

Clone(self)[source]
Validate(self, win)[source]

Validate the combobox for a valid string input

Parameters

{wx.Window} -- The window that owns the combobox (win) –

Returns

bool – True if valid, False otherwise

TransferToWindow(self)[source]
TransferFromWindow(self)[source]

Build: 1.4.1