wxPGChoiceEditor Class Reference

#include <editors.h>

Inheritance diagram for wxPGChoiceEditor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool CanContainCustomImage () const
wxWindow * CreateControlsBase (wxPropertyGrid *propgrid, wxPGProperty *property, const wxPoint &pos, const wxSize &sz, long extraStyle) const
virtual void DeleteItem (wxWindow *ctrl, int index) const
virtual wxPG_CONST_WXCHAR_PTR GetName () const
virtual int InsertItem (wxWindow *ctrl, const wxString &label, int index) const
virtual void SetControlIntValue (wxPGProperty *property, wxWindow *ctrl, int value) const
virtual void SetControlStringValue (wxPGProperty *property, wxWindow *ctrl, const wxString &txt) const
 wxPGChoiceEditor ()
virtual ~wxPGChoiceEditor ()

Detailed Description

Definition at line 264 of file editors.h.


Constructor & Destructor Documentation

wxPGChoiceEditor::wxPGChoiceEditor (  )  [inline]

Definition at line 270 of file editors.h.

virtual wxPGChoiceEditor::~wxPGChoiceEditor (  )  [virtual]

Member Function Documentation

virtual bool wxPGChoiceEditor::CanContainCustomImage (  )  const [virtual]

Returns true if control itself can contain the custom image. Default is to return false.

Reimplemented from wxPGEditor.

wxWindow* wxPGChoiceEditor::CreateControlsBase ( wxPropertyGrid propgrid,
wxPGProperty property,
const wxPoint &  pos,
const wxSize &  sz,
long  extraStyle 
) const
virtual void wxPGChoiceEditor::DeleteItem ( wxWindow *  ctrl,
int  index 
) const [virtual]

Deletes item from existing control. Default implementation does nothing.

Reimplemented from wxPGEditor.

virtual wxPG_CONST_WXCHAR_PTR wxPGChoiceEditor::GetName (  )  const [virtual]

Returns pointer to the name of the editor. For example, wxPG_EDITOR(TextCtrl) has name "TextCtrl". This method is autogenerated for custom editors.

Implements wxPGEditor.

Reimplemented in wxPGComboBoxEditor, and wxPGChoiceAndButtonEditor.

virtual int wxPGChoiceEditor::InsertItem ( wxWindow *  ctrl,
const wxString &  label,
int  index 
) const [virtual]

Inserts item to existing control. Index -1 means appending. Default implementation does nothing. Returns index of item added.

Reimplemented from wxPGEditor.

virtual void wxPGChoiceEditor::SetControlIntValue ( wxPGProperty property,
wxWindow *  ctrl,
int  value 
) const [virtual]

Sets control's value specifically from int (applies to choice etc.).

Reimplemented from wxPGEditor.

virtual void wxPGChoiceEditor::SetControlStringValue ( wxPGProperty property,
wxWindow *  ctrl,
const wxString &  txt 
) const [virtual]

Sets control's value specifically from string.

Reimplemented from wxPGEditor.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


wxpropgrid
Author(s): Jaakko Salli
autogenerated on Fri Jan 11 09:34:06 2013