Version: 2.9.4
Public Member Functions
wxGridCellChoiceEditor Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/grid.h>

Inheritance diagram for wxGridCellChoiceEditor:

Detailed Description

Grid cell editor for string data providing the user a choice from a list of strings.

Library:  wxAdvanced
Category:  Grid Related Classes
参照:
wxGridCellEditor, wxGridCellAutoWrapStringEditor, wxGridCellBoolEditor, wxGridCellEnumEditor, wxGridCellFloatEditor, wxGridCellNumberEditor, wxGridCellTextEditor

Public Member Functions

 wxGridCellChoiceEditor (size_t count=0, const wxString choices[]=NULL, bool allowOthers=false)
 Choice cell renderer ctor.
 wxGridCellChoiceEditor (const wxArrayString &choices, bool allowOthers=false)
 Choice cell renderer ctor.
virtual void SetParameters (const wxString &params)
 Parameters string format is "item1[,item2[...,itemN]]".

List of all members.


Constructor & Destructor Documentation

wxGridCellChoiceEditor::wxGridCellChoiceEditor ( size_t  count = 0,
const wxString  choices[] = NULL,
bool  allowOthers = false 
)

Choice cell renderer ctor.

Parameters:
countNumber of strings from which the user can choose.
choicesAn array of strings from which the user can choose.
allowOthersIf allowOthers is true, the user can type a string not in choices array.
wxGridCellChoiceEditor::wxGridCellChoiceEditor ( const wxArrayString choices,
bool  allowOthers = false 
)

Choice cell renderer ctor.

Parameters:
choicesAn array of strings from which the user can choose.
allowOthersIf allowOthers is true, the user can type a string not in choices array.

Member Function Documentation

virtual void wxGridCellChoiceEditor::SetParameters ( const wxString params) [virtual]

Parameters string format is "item1[,item2[...,itemN]]".

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines