.\" This is a wxWidgets manpage page generated from the XML docs .TH wxTextEntryDialog 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxTextEntryDialog \- Dialog to get a single line of text from the user .SH DESCRIPTION This class represents a dialog that requests a one-line text string from the user. It is implemented as a generic wxWidgets dialog. .SH "PARENTS" wxDialog wxWindow wxEvtHandler wxObject .SH "INCLUDE FILES" wx/textdlg.h .SH MEMBERS .SS wxTextEntryDialog (wxWindow* parentconst wxString& messageconst wxString& caption = "Pleaseconst wxString& defaultValue = ""long style = wxOKconst wxPoint& pos = wxDefaultPosition) Constructor. Use wxTextEntryDialog::ShowModal to show the dialog. .SS ~wxTextEntryDialog () Destructor. .SS wxString GetValue () Returns the text that the user has entered if the user has pressed OK, or the original value if the user has pressed Cancel. .SS void SetValue (const wxString& value) Sets the default text value. .SS int ShowModal () Shows the dialog, returning wxID_OK if the user pressed OK, and wxID_CANCEL otherwise. .SH "SEE ALSO" wxDialog wxWindow wxEvtHandler wxObject wxTextEntryDialog overview .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.