This event is sent by LayoutAlgorithm to calculate the amount of the remaining client area that the window should occupy.
| evt_calculate_layout() { | event | ... } | Process a EVT_CALCULATE_LAYOUT event,which asks the window to take a ‘bite’ out of a rectangle provided by the algorithm. |
QueryLayoutInfoEvent, SashLayoutWindow, LayoutAlgorithm.
CalculateLayoutEvent.new(Integer id = 0)
Constructor.
Integer get_flags()
Returns the flags associated with this event. Not currently used.
Rect get_rect()
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.
set_flags(Integer flags)
Sets the flags associated with this event. Not currently used.
set_rect(Rect rect)
Call this to specify the new remaining parent client area, after the space occupied by the window has been subtracted.
[This page automatically generated from the Textile source at Thu May 01 00:50:33 +0100 2008]