#include <editors.h>
Public Member Functions | |
virtual wxPG_CONST_WXCHAR_PTR | GetName () const |
virtual void | OnFocus (wxPGProperty *property, wxWindow *wnd) const |
virtual void | SetControlStringValue (wxPGProperty *property, wxWindow *ctrl, const wxString &txt) const |
wxPGTextCtrlEditor () | |
virtual | ~wxPGTextCtrlEditor () |
Static Public Member Functions | |
static bool | GetTextCtrlValueFromControl (wxVariant &variant, wxPGProperty *property, wxWindow *ctrl) |
static bool | OnTextCtrlEvent (wxPropertyGrid *propgrid, wxPGProperty *property, wxWindow *ctrl, wxEvent &event) |
Definition at line 236 of file editors.h.
virtual wxPGTextCtrlEditor::~wxPGTextCtrlEditor | ( | ) | [virtual] |
virtual wxPG_CONST_WXCHAR_PTR wxPGTextCtrlEditor::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 wxPGTextCtrlAndButtonEditor.
static bool wxPGTextCtrlEditor::GetTextCtrlValueFromControl | ( | wxVariant & | variant, | |
wxPGProperty * | property, | |||
wxWindow * | ctrl | |||
) | [static] |
virtual void wxPGTextCtrlEditor::OnFocus | ( | wxPGProperty * | property, | |
wxWindow * | wnd | |||
) | const [virtual] |
Extra processing when control gains focus. For example, wxTextCtrl based controls should select all text.
Reimplemented from wxPGEditor.
static bool wxPGTextCtrlEditor::OnTextCtrlEvent | ( | wxPropertyGrid * | propgrid, | |
wxPGProperty * | property, | |||
wxWindow * | ctrl, | |||
wxEvent & | event | |||
) | [static] |
virtual void wxPGTextCtrlEditor::SetControlStringValue | ( | wxPGProperty * | property, | |
wxWindow * | ctrl, | |||
const wxString & | txt | |||
) | const [virtual] |
Sets control's value specifically from string.
Reimplemented from wxPGEditor.