#include </home/zeitlin/src/wx/github/interface/wx/dataview.h>
Inheritance diagram for wxDataViewChoiceRenderer:A wxDataViewCtrl renderer using wxChoice control and values of strings in it.
This class is used by wxDataViewCtrl to render choice controls. It stores a string so that SetValue() and GetValue() operate on a variant holding a string.
Public Member Functions | |
| wxDataViewChoiceRenderer (const wxArrayString &choices, wxDataViewCellMode mode=wxDATAVIEW_CELL_EDITABLE, int alignment=wxDVR_DEFAULT_ALIGNMENT) | |
| The ctor. | |
| wxString | GetChoice (size_t index) const |
| Returns the choice referred to by index. | |
| const wxArrayString & | GetChoices () const |
| Returns all choices. | |
| wxDataViewChoiceRenderer::wxDataViewChoiceRenderer | ( | const wxArrayString & | choices, |
| wxDataViewCellMode | mode = wxDATAVIEW_CELL_EDITABLE, |
||
| int | alignment = wxDVR_DEFAULT_ALIGNMENT |
||
| ) |
The ctor.
| wxString wxDataViewChoiceRenderer::GetChoice | ( | size_t | index | ) | const |
Returns the choice referred to by index.
| const wxArrayString& wxDataViewChoiceRenderer::GetChoices | ( | ) | const |
Returns all choices.