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

📄 setcursorevt.tex

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 TEX
字号:
\section{\class{wxSetCursorEvent}}\label{wxsetcursorevent}A SetCursorEvent is generated when the mouse cursor is about to be set as aresult of mouse motion. This event gives the application the chance to performspecific mouse cursor processing based on the current position of the mousewithin the window. Use \helpref{SetCursor}{wxsetcursoreventsetcursor} tospecify the cursor you want to be displayed.\wxheading{Derived from}\helpref{wxEvent}{wxevent}\\\helpref{wxObject}{wxobject}\wxheading{Include files}<wx/event.h>\wxheading{See also}\helpref{::wxSetCursor}{wxsetcursor}\helpref{wxWindow::wxSetCursor}{wxwindowsetcursor}\wxheading{Event table macros}To process a set cursor event, use this event handler macro to direct input to a memberfunction that takes a wxSetCursorEvent argument.\twocolwidtha{7cm}\begin{twocollist}\itemsep=0pt\twocolitem{{\bf EVT\_SET\_CURSOR(func)}}{Process a wxEVT\_SET\_CURSOR event.}\end{twocollist}%\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxSetCursorEvent::wxSetCursorEvent}\label{wxsetcursoreventctor}\func{}{wxSetCursorEvent}{\param{wxCoord}{x = 0}, \param{wxCoord}{y = 0}}Constructor, used by the library itself internally to initialize the eventobject.\membersection{wxSetCursorEvent::GetCursor}\label{wxsetcursoreventgetcursor}\constfunc{wxCursor&}{GetCursor}{\void}Returns a reference to the cursor specified by this event.\membersection{wxSetCursorEvent::GetX}\label{wxsetcursoreventgetx}\constfunc{wxCoord}{GetX}{\void}Returns the X coordinate of the mouse in client coordinates.\membersection{wxSetCursorEvent::GetY}\label{wxsetcursoreventgety}\constfunc{wxCoord}{GetY}{\void}Returns the Y coordinate of the mouse in client coordinates.\membersection{wxSetCursorEvent::HasCursor}\label{wxsetcursoreventhascursor}\constfunc{bool}{HasCursor}{\void}Returns \true if the cursor specified by this event is a valid cursor.\wxheading{Remarks}You cannot specify \texttt{wxNullCursor} with this event, as it is notconsidered a valid cursor.\membersection{wxSetCursorEvent::SetCursor}\label{wxsetcursoreventsetcursor}\func{void}{SetCursor}{\param{const wxCursor\&}{cursor}}Sets the cursor associated with this event.

⌨️ 快捷键说明

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