wxEnumProperty Class Reference
You can derive custom properties with choices from this class. See wxBaseEnumProperty for remarks.
More...
#include <props.h>
List of all members.
Public Member Functions |
| virtual int | GetChoiceInfo (wxPGChoiceInfo *choiceinfo) |
| const wxPGChoices & | GetChoices () const |
| virtual const wxString * | GetEntry (size_t index, int *pvalue) const |
| virtual int | GetIndexForValue (int value) const |
| size_t | GetItemCount () const |
| | wxEnumProperty (const wxString &label, const wxString &name, const wxArrayString &labels, const wxArrayInt &values=wxArrayInt(), int value=0) |
| | wxEnumProperty (const wxString &label, const wxString &name, const wxChar **labels, const long *values, wxPGChoices *choicesCache, int value=0) |
| | wxEnumProperty (const wxString &label, const wxString &name, wxPGChoices &choices, int value=0) |
| | wxEnumProperty (const wxString &label=wxPG_LABEL, const wxString &name=wxPG_LABEL, const wxChar **labels=NULL, const long *values=NULL, int value=0) |
| virtual | ~wxEnumProperty () |
Protected Attributes |
| wxPGChoices | m_choices |
Detailed Description
You can derive custom properties with choices from this class. See wxBaseEnumProperty for remarks.
Definition at line 594 of file props.h.
Constructor & Destructor Documentation
| wxEnumProperty::wxEnumProperty |
( |
const wxString & |
label = wxPG_LABEL, |
|
|
const wxString & |
name = wxPG_LABEL, |
|
|
const wxChar ** |
labels = NULL, |
|
|
const long * |
values = NULL, |
|
|
int |
value = 0 | |
|
) |
| | |
| wxEnumProperty::wxEnumProperty |
( |
const wxString & |
label, |
|
|
const wxString & |
name, |
|
|
wxPGChoices & |
choices, |
|
|
int |
value = 0 | |
|
) |
| | |
| wxEnumProperty::wxEnumProperty |
( |
const wxString & |
label, |
|
|
const wxString & |
name, |
|
|
const wxChar ** |
labels, |
|
|
const long * |
values, |
|
|
wxPGChoices * |
choicesCache, |
|
|
int |
value = 0 | |
|
) |
| | |
| wxEnumProperty::wxEnumProperty |
( |
const wxString & |
label, |
|
|
const wxString & |
name, |
|
|
const wxArrayString & |
labels, |
|
|
const wxArrayInt & |
values = wxArrayInt(), |
|
|
int |
value = 0 | |
|
) |
| | |
| virtual wxEnumProperty::~wxEnumProperty |
( |
|
) |
[virtual] |
Member Function Documentation
| virtual int wxEnumProperty::GetChoiceInfo |
( |
wxPGChoiceInfo * |
choiceinfo |
) |
[virtual] |
Returns current value's index to the choice control. May also return, through pointer arguments, strings that should be inserted to that control. Irrelevant to classes which do not employ wxPG_EDITOR(Choice) or similar.
Reimplemented from wxPGProperty.
| const wxPGChoices& wxEnumProperty::GetChoices |
( |
|
) |
const [inline] |
| virtual const wxString* wxEnumProperty::GetEntry |
( |
size_t |
index, |
|
|
int * |
pvalue | |
|
) |
| | const [virtual] |
| virtual int wxEnumProperty::GetIndexForValue |
( |
int |
value |
) |
const [virtual] |
| size_t wxEnumProperty::GetItemCount |
( |
|
) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following file: