⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 textdlg.tex

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 TEX
字号:
\section{\class{wxTextEntryDialog}}\label{wxtextentrydialog}This class represents a dialog that requests a one-line text string from the user.It is implemented as a generic wxWidgets dialog.\wxheading{Derived from}\helpref{wxDialog}{wxdialog}\\\helpref{wxWindow}{wxwindow}\\\helpref{wxEvtHandler}{wxevthandler}\\\helpref{wxObject}{wxobject}\wxheading{Include files}<wx/textdlg.h>\wxheading{See also}\helpref{wxTextEntryDialog overview}{wxtextentrydialogoverview}\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxTextEntryDialog::wxTextEntryDialog}\label{wxtextentrydialogctor}\func{}{wxTextEntryDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message},\rtfsp\param{const wxString\& }{caption = "Please enter text"}, \param{const wxString\& }{defaultValue = ""}, \param{long }{style = wxOK \pipe wxCANCEL \pipe wxCENTRE}, \param{const wxPoint\& }{pos = wxDefaultPosition}}Constructor. Use \helpref{wxTextEntryDialog::ShowModal}{wxtextentrydialogshowmodal} to show the dialog.\wxheading{Parameters}\docparam{parent}{Parent window.}\docparam{message}{Message to show on the dialog.}\docparam{defaultValue}{The default value, which may be the empty string.}\docparam{style}{A dialog style, specifying the buttons (wxOK, wxCANCEL)and an optional wxCENTRE style. Additionally, wxTextCtrl styles (such as\windowstyle{wxTE\_PASSWORD}) may be specified here.}\docparam{pos}{Dialog position.}\membersection{wxTextEntryDialog::\destruct{wxTextEntryDialog}}\label{wxtextentrydialogdtor}\func{}{\destruct{wxTextEntryDialog}}{\void}Destructor.\membersection{wxTextEntryDialog::GetValue}\label{wxtextentrydialoggetvalue}\constfunc{wxString}{GetValue}{\void}Returns the text that the user has entered if the user has pressed OK, or the original valueif the user has pressed Cancel.\membersection{wxTextEntryDialog::SetValue}\label{wxtextentrydialogsetvalue}\func{void}{SetValue}{\param{const wxString\& }{value}}Sets the default text value.\membersection{wxTextEntryDialog::ShowModal}\label{wxtextentrydialogshowmodal}\func{int}{ShowModal}{\void}Shows the dialog, returning wxID\_OK if the user pressed OK, and wxID\_CANCELotherwise.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -