.\" This is a wxWidgets manpage page generated from the XML docs .TH wxCalculateLayoutEvent 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxCalculateLayoutEvent \- Used to calculate window layout .SH DESCRIPTION This event is sent by wxLayoutAlgorithm to calculate the amount of the remaining client area that the window should occupy. .SH "PARENTS" wxEvent wxObject .SH "INCLUDE FILES" wx/laywin.h .SH MEMBERS .SS wxCalculateLayoutEvent (wxWindowID id = 0) Constructor. .SS int GetFlags () Returns the flags associated with this event. Not currently used. .SS wxRect GetRect () Before the event handler is entered, returns the remaining parent client area that the window could 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. .SS void SetFlags (int flags) Sets the flags associated with this event. Not currently used. .SS void SetRect (const wxRect& rect) Call this to specify the new remaining parent client area, after the space occupied by the window has been subtracted. .SH EVENTS .SS 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. .SH "SEE ALSO" wxEvent wxObject wxQueryLayoutInfoEvent , wxSashLayoutWindow , wxLayoutAlgorithm . .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.