A wx.dataview.DataViewCtrl renderer using wx.Choice control and values of strings in it.
This class is used by wx.dataview.DataViewCtrl to render choice controls. It stores a string so that SetValue
and GetValue
operate on a variant holding a string.
See also
DataViewChoiceByIndexRenderer
DataViewChoiceByIndexRenderer
The constructor. |
|
Returns the choice referred to by index. |
|
Returns all choices. |
See |
Possible constructors:
DataViewChoiceRenderer(choices, mode=DATAVIEW_CELL_EDITABLE,
alignment=DVR_DEFAULT_ALIGNMENT)
A DataViewCtrl renderer using Choice control and values of strings in it.
The constructor.
choices (list of strings) –
mode (DataViewCellMode) –
alignment (int) –
Returns the choice referred to by index.
index (int) –
string
Returns all choices.
list of strings
See GetChoices