📄 calclevt.tex
字号:
\section{\class{wxCalculateLayoutEvent}}\label{wxcalculatelayoutevent}This event is sent by \helpref{wxLayoutAlgorithm}{wxlayoutalgorithm} tocalculate the amount of the remaining client area that the window shouldoccupy.\wxheading{Derived from}\helpref{wxEvent}{wxevent}\\\helpref{wxObject}{wxobject}\wxheading{Include files}<wx/laywin.h>\wxheading{Event table macros}\twocolwidtha{7cm}%\begin{twocollist}\itemsep=0pt\twocolitem{{\bf EVT\_CALCULATE\_LAYOUT(func)}}{Process a wxEVT\_CALCULATE\_LAYOUT event,which asks the window to take a 'bite' out of a rectangle provided by the algorithm.}\end{twocollist}\wxheading{See also}\helpref{wxQueryLayoutInfoEvent}{wxquerylayoutinfoevent},\rtfsp\helpref{wxSashLayoutWindow}{wxsashlayoutwindow},\rtfsp\helpref{wxLayoutAlgorithm}{wxlayoutalgorithm}.\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxCalculateLayoutEvent::wxCalculateLayoutEvent}\label{wxcalculatelayouteventctor}\func{}{wxCalculateLayoutEvent}{\param{wxWindowID }{id = 0}}Constructor.\membersection{wxCalculateLayoutEvent::GetFlags}\label{wxcalculatelayouteventgetflags}\constfunc{int}{GetFlags}{\void}Returns the flags associated with this event. Not currently used.\membersection{wxCalculateLayoutEvent::GetRect}\label{wxcalculatelayouteventgetrect}\constfunc{wxRect}{GetRect}{\void}Before the event handler is entered, returns the remaining parent client area that the windowcould occupy. When the event handler returns, this should contain the remaining parent client rectangle,after the event handler has subtracted the area that its window occupies.\membersection{wxCalculateLayoutEvent::SetFlags}\label{wxcalculatelayouteventsetflags}\func{void}{SetFlags}{\param{int }{flags}}Sets the flags associated with this event. Not currently used.\membersection{wxCalculateLayoutEvent::SetRect}\label{wxcalculatelayouteventsetrect}\func{void}{SetRect}{\param{const wxRect\& }{rect}}Call this to specify the new remaining parent client area, after the space occupied by thewindow has been subtracted.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -