1 \section{\class{wxCalculateLayoutEvent
}}\label{wxcalculatelayoutevent
}
3 This event is sent by
\helpref{wxLayoutAlgorithm
}{wxlayoutalgorithm
} to
4 calculate the amount of the remaining client area that the window should
7 \wxheading{Derived from
}
9 \helpref{wxEvent
}{wxevent
}\\
10 \helpref{wxObject
}{wxobject
}
12 \wxheading{Event table macros
}
15 \begin{twocollist
}\itemsep=
0pt
16 \twocolitem{{\bf EVT
\_CALCULATE\_LAYOUT(func)
}}{Process a wxEVT
\_CALCULATE\_LAYOUT event,
17 which asks the window to take a 'bite' out of a rectangle provided by the algorithm.
}
22 \helpref{wxQueryLayoutInfoEvent
}{wxquerylayoutinfoevent
},
\rtfsp
23 \helpref{wxSashLayoutWindow
}{wxsashlayoutwindow
},
\rtfsp
24 \helpref{wxLayoutAlgorithm
}{wxlayoutalgorithm
}.
26 \latexignore{\rtfignore{\wxheading{Members
}}}
28 \membersection{wxCalculateLayoutEvent::wxCalculateLayoutEvent
}
30 \func{}{wxCalculateLayoutEvent
}{\param{wxWindowID
}{id =
0}}
34 \membersection{wxCalculateLayoutEvent::GetFlags
}\label{wxcalculatelayouteventgetflags
}
36 \constfunc{int
}{GetFlags
}{\void}
38 Returns the flags associated with this event. Not currently used.
40 \membersection{wxCalculateLayoutEvent::GetRect
}\label{wxcalculatelayouteventgetrect
}
42 \constfunc{wxRect
}{GetRect
}{\void}
44 Before the event handler is entered, returns the remaining parent client area that the window
45 could occupy. When the event handler returns, this should contain the remaining parent client rectangle,
46 after the event handler has subtracted the area that its window occupies.
48 \membersection{wxCalculateLayoutEvent::SetFlags
}\label{wxcalculatelayouteventsetflags
}
50 \func{void
}{SetFlags
}{\param{int
}{flags
}}
52 Sets the flags associated with this event. Not currently used.
54 \membersection{wxCalculateLayoutEvent::SetRect
}\label{wxcalculatelayouteventsetrect
}
56 \func{void
}{SetRect
}{\param{const wxRect\&
}{rect
}}
58 Call this to specify the new remaining parent client area, after the space occupied by the
59 window has been subtracted.