Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes

wxPGChoices Class Reference

Helper class for managing constant (key=value) sequences. More...

#include <propgrid.h>

Collaboration diagram for wxPGChoices:
Collaboration graph

List of all members.

Public Member Functions

void Add (const wxChar **labels, const long *values=NULL)
void Add (const wxArrayString &arr, const long *values=NULL)
void Add (const wxArrayString &arr, const wxArrayInt &arrint)
void Add (const wxChar *label, int value=wxPG_INVALID_VALUE)
void AddAsSorted (const wxString &label, int value=wxPG_INVALID_VALUE)
void AddInt (int val)
void AddString (const wxString &str)
void Assign (const wxPGChoices &a)
void AssignData (wxPGChoicesData *data)
void EnsureData ()
wxPGChoicesDataExtractData ()
size_t GetCount () const
wxPGChoicesDataGetData ()
wxPGChoicesDataGetDataPtr () const
wxPGChoicesId GetId () const
const wxString & GetLabel (size_t ind) const
const wxArrayString & GetLabels () const
wxArrayString & GetLabels ()
int GetValue (size_t ind) const
wxArrayInt & GetValues ()
const wxArrayInt & GetValues () const
int Index (const wxString &str) const
void Insert (const wxChar *label, int index, int value=wxPG_INVALID_VALUE)
bool IsOk () const
void RemoveAt (size_t nIndex, size_t count=1)
void Set (const wxChar **labels, const long *values=NULL)
void Set (wxArrayString &arr, const long *values=(const long *) NULL)
void Set (const wxArrayString &labels, const wxArrayInt &values=wxPG_EMPTY_ARRAYINT)
void SetExclusive ()
void SetLabels (const wxArrayString &arr)
void SetLabels (wxArrayString &arr)
void SetValues (wxArrayInt &arr)
void SetValues (const wxArrayInt &arr)
 wxPGChoices (const wxChar **labels, const long *values=NULL)
 wxPGChoices (wxPGChoices &a)
 wxPGChoices (const wxArrayString &labels, const wxArrayInt &values=wxPG_EMPTY_ARRAYINT)
 wxPGChoices (wxPGChoicesData *data)
 wxPGChoices ()
 ~wxPGChoices ()

Protected Member Functions

void Free ()
void Init ()

Protected Attributes


Detailed Description

Helper class for managing constant (key=value) sequences.

Definition at line 2581 of file propgrid.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index