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

📄 tipwin.tex

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 TEX
字号:
\section{\class{wxTipWindow}}\label{wxtipwindow}Shows simple text in a popup tip window on creation. This is used by \helpref{wxSimpleHelpProvider}{wxsimplehelpprovider} to show popup help. Thewindow automatically destroys itself when the user clicks on it or it loses thefocus.You may also use this class to emulate the tooltips when you need finercontrol over them than what the standard tooltips provide.\wxheading{Derived from}wxPopupTransientWindow\\wxPopupWindow\\\helpref{wxWindow}{wxwindow}\\\helpref{wxEvtHandler}{wxevthandler}\\\helpref{wxObject}{wxobject}\wxheading{Include files}<wx/tipwin.h>\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxTipWindow::wxTipWindow}\label{wxtipwindowwxtipwindow}\func{}{wxTipWindow}{\param{wxWindow* }{parent}, \param{const wxString\& }{text}, \param{wxCoord }{maxLength = 100}, \param{wxTipWindow** }{windowPtr}, \param{wxRect *}{rectBounds = \NULL}}Constructor. The tip is shown immediately after the window is constructed.\wxheading{Parameters}\docparam{parent}{The parent window, must be non-\NULL}\docparam{text}{The text to show, may contain the new line characters}\docparam{maxLength}{The length of each line, in pixels. Set to a very largevalue to avoid wrapping lines}\docparam{windowPtr}{Simply passed to \helpref{SetTipWindowPtr}{wxtipwindowsettipwindowptr} below, please see itsdocumentation for the description of this parameter}\docparam{rectBounds}{If non-\NULL, passed to \helpref{SetBoundingRect}{wxtipwindowsetboundingrect} below, please see itsdocumentation for the description of this parameter}\membersection{wxTipWindow::SetTipWindowPtr}\label{wxtipwindowsettipwindowptr}\func{void}{SetTipWindowPtr}{\param{wxTipWindow** }{windowPtr}}When the tip window closes itself (which may happen at any moment andunexpectedly to the caller) it may \NULL out the pointer pointed to by \arg{it windowPtr}. This is helpful to avoid dereferencing the tip window whichhad been already closed and deleted.\membersection{wxTipWindow::SetBoundingRect}\label{wxtipwindowsetboundingrect}\func{void}{SetBoundingRect}{\param{const wxRect\& }{rectBound}}By default, the tip window disappears when the user clicks the mouse or pressesa keyboard key or if it loses focus in any other way - for example because theuser switched to another application window.Additionally, if a non-empty \arg{rectBound} is provided, the tip window willalso automatically close if the mouse leaves this area. This is useful todismiss the tip mouse when the mouse leaves the object it is associated with.\wxheading{Parameters}\docparam{rectBound}{The bounding rectangle for the mouse in the screen coordinates}

⌨️ 快捷键说明

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