tdialog.tex
来自「wxWidgets 是一个跨平台的 GUI 框架。它给开发人员提供了统一的接口」· TEX 代码 · 共 32 行
TEX
32 行
\section{wxDialog overview}\label{wxdialogoverview}Classes: \helpref{wxDialog}{wxdialog}A dialog box is similar to a panel, in that it is a window which canbe used for placing controls, with the following exceptions:\begin{enumerate}\item A surrounding frame is implicitly created.\item Extra functionality is automatically given to the dialog box, such as tabbing between items (currently Windows only).\item If the dialog box is {\it modal}, the calling program is blocked until the dialog box is dismissed.\end{enumerate}Under Windows 3, modal dialogs have to be emulated usingmodeless dialogs and a message loop. This is because Windows 3 expectsthe contents of a modal dialog to be loaded from a resource file orcreated on receipt of a dialog initialization message. This is toorestrictive for wxWidgets, where any window may be created and displayedbefore its contents are created.For a set of dialog convenience functions, including file selection, see\rtfsp\helpref{Dialog functions}{dialogfunctions}.See also \helpref{wxPanel}{wxpanel} and \helpref{wxWindow}{wxwindow} for inheritedmember functions. Validation of data in controls is coveredin \helpref{Validator overview}{validatoroverview}.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?