busycurs.tex
来自「很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.」· TEX 代码 · 共 47 行
TEX
47 行
\section{\class{wxBusyCursor}}\label{wxbusycursor}This class makes it easy to tell your user that the program is temporarily busy.Just create a wxBusyCursor object on the stack, and within the current scope,the hourglass will be shown.For example:\begin{verbatim} wxBusyCursor wait; for (int i = 0; i < 100000; i++) DoACalculation();\end{verbatim}It works by calling \helpref{wxBeginBusyCursor}{wxbeginbusycursor} in the constructor,and \helpref{wxEndBusyCursor}{wxendbusycursor} in the destructor.\wxheading{Derived from}None\wxheading{Include files}<wx/utils.h>\wxheading{See also}\helpref{wxBeginBusyCursor}{wxbeginbusycursor},\rtfsp\helpref{wxEndBusyCursor}{wxendbusycursor},\rtfsp\helpref{wxWindowDisabler}{wxwindowdisabler}\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxBusyCursor::wxBusyCursor}\label{wxbusycursorctor}\func{}{wxBusyCursor}{\param{wxCursor*}{ cursor = wxHOURGLASS\_CURSOR}}Constructs a busy cursor object, calling \helpref{wxBeginBusyCursor}{wxbeginbusycursor}.\membersection{wxBusyCursor::\destruct{wxBusyCursor}}\label{wxbusycursordtor}\func{}{\destruct{wxBusyCursor}}{\void}Destroys the busy cursor object, calling \helpref{wxEndBusyCursor}{wxendbusycursor}.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?