wxTextEntryDialogThis class represents a dialog that requests a one-line text string from the user. It is implemented as a generic wxWidgets dialog. Derived from
wxDialog Include files <wx/textdlg.h> See also Members
wxTextEntryDialog::wxTextEntryDialog
wxTextEntryDialog::wxTextEntryDialogwxTextEntryDialog(wxWindow* parent, const wxString& message, const wxString& caption = "Please enter text", const wxString& defaultValue = "", long style = wxOK | wxCANCEL | wxCENTRE, const wxPoint& pos = wxDefaultPosition) Constructor. Use wxTextEntryDialog::ShowModal to show the dialog. Parameters parent
message
defaultValue
style
pos
wxTextEntryDialog::~wxTextEntryDialog~wxTextEntryDialog() Destructor.
wxTextEntryDialog::GetValuewxString GetValue() const Returns the text that the user has entered if the user has pressed OK, or the original value if the user has pressed Cancel.
wxTextEntryDialog::SetValuevoid SetValue(const wxString& value) Sets the default text value.
wxTextEntryDialog::ShowModalint ShowModal() Shows the dialog, returning wxID_OK if the user pressed OK, and wxID_CANCEL otherwise.
|