Auxiliary class providing neccessary functionality needed for dialog-based modification of a content of the text shape.
More...
#include <EditTextShape.h>
|
| 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) |
|
| ~wxSFDetachedContentCtrl () |
| Destructor. More...
|
|
void | SetContent (const wxString &txt) |
| Set content of dialog's text edit control. More...
|
|
wxString | GetContent () const |
| Get content of dialog's text edit control. More...
|
|
Auxiliary class providing neccessary functionality needed for dialog-based modification of a content of the text shape.
- See also
- wxSFEditTextShape
◆ wxSFDetachedContentCtrl()
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 |
|
) |
| |
\brief Constructor.
- Parameters
-
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 |
◆ ~wxSFDetachedContentCtrl()
wxSFDetachedContentCtrl::~wxSFDetachedContentCtrl |
( |
| ) |
|
◆ GetContent()
wxString wxSFDetachedContentCtrl::GetContent |
( |
| ) |
const |
|
inline |
Get content of dialog's text edit control.
- Returns
- Edited text
◆ SetContent()
void wxSFDetachedContentCtrl::SetContent |
( |
const wxString & |
txt | ) |
|
|
inline |
Set content of dialog's text edit control.
- Parameters
-
◆ m_pText
wxTextCtrl* wxSFDetachedContentCtrl::m_pText |
|
protected |
The documentation for this class was generated from the following file: