wxPGTextCtrlEditor Class Reference

#include <editors.h>

Inheritance diagram for wxPGTextCtrlEditor:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

Definition at line 236 of file editors.h.


Constructor & Destructor Documentation

wxPGTextCtrlEditor::wxPGTextCtrlEditor (  )  [inline]

Definition at line 242 of file editors.h.

virtual wxPGTextCtrlEditor::~wxPGTextCtrlEditor (  )  [virtual]

Member Function Documentation

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.


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:07 2013