This event is sent by wx.adv.LayoutAlgorithm to calculate the amount of the remaining client area that the window should occupy.
^^
Handlers bound for the following event types will receive a wx.adv.CalculateLayoutEvent parameter.
EVT_CALCULATE_LAYOUT: Process a wxEVT_CALCULATE_LAYOUT
event, which asks the window to take a ‘bite’ out of a rectangle provided by the algorithm. ^^
Constructor. |
|
Returns the flags associated with this event. |
|
Before the event handler is entered, returns the remaining parent client area that the window could occupy. |
|
Sets the flags associated with this event. |
|
Call this to specify the new remaining parent client area, after the space occupied by the window has been subtracted. |
wx.adv.
CalculateLayoutEvent
(Event)¶Possible constructors:
CalculateLayoutEvent(id=0)
This event is sent by LayoutAlgorithm to calculate the amount of the remaining client area that the window should occupy.
__init__
(self, id=0)¶Constructor.
id (wx.WindowID) –
GetFlags
(self)¶Returns the flags associated with this event.
Not currently used.
int
GetRect
(self)¶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.
SetFlags
(self, flags)¶Sets the flags associated with this event.
Not currently used.
flags (int) –
SetRect
(self, rect)¶Call this to specify the new remaining parent client area, after the space occupied by the window has been subtracted.
rect (wx.Rect) –