|
wxShapeFramework
1.13.0 beta
|
Auxiliary class providing neccessary functionality needed for dialog-based modification of a content of the text shape. More...
#include <EditTextShape.h>
Public Member Functions | |
| wxSFDetachedContentCtrl (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Edit content"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER) | |
| Constructor. | |
| ~wxSFDetachedContentCtrl () | |
| Destructor. | |
| void | SetContent (const wxString &txt) |
| Set content of dialog's text edit control. | |
| wxString | GetContent () const |
| Get content of dialog's text edit control. | |
Protected Attributes | |
| wxTextCtrl * | m_pText |
Auxiliary class providing neccessary functionality needed for dialog-based modification of a content of the text shape.
| wxSFDetachedContentCtrl::wxSFDetachedContentCtrl | ( | wxWindow * | parent, |
| wxWindowID | id = wxID_ANY, |
||
| const wxString & | title = _("Edit content"), |
||
| const wxPoint & | pos = wxDefaultPosition, |
||
| const wxSize & | size = wxDefaultSize, |
||
| long | style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER |
||
| ) |
Constructor.
| parent | Pointer to the parent window |
| id | ID of the text control window |
| title | Dialog's title |
| pos | Initial position |
| size | Initial size |
| style | Window style |
Destructor.
| wxString wxSFDetachedContentCtrl::GetContent | ( | ) | const [inline] |
Get content of dialog's text edit control.
| void wxSFDetachedContentCtrl::SetContent | ( | const wxString & | txt | ) | [inline] |
Set content of dialog's text edit control.
| txt | Text content |
wxTextCtrl* wxSFDetachedContentCtrl::m_pText [protected] |