Target class for AuiSingleDockingGuide and AuiCenterDockingGuide.
__init__ | Default class constructor. |
Draw | Draws the whole docking guide window (not used if the docking guide images are ok). |
DrawArrow | Draws the docking guide arrow icon (not used if the docking guide images are ok). |
DrawBackground | Draws the docking guide background. |
DrawDottedLine | Draws a dotted line (not used if the docking guide images are ok). |
DrawIcon | Draws the docking guide icon (not used if the docking guide images are ok). |
IsValid | Returns whether the docking direction is valid. |
OnEraseBackground | Handles the wx.EVT_ERASE_BACKGROUND event for AuiDockingGuideWindow. |
OnPaint | Handles the wx.EVT_PAINT event for AuiDockingGuideWindow. |
SetValid | Sets the docking direction as valid or invalid. |
UpdateDockGuide | Updates the docking guide images depending on the mouse position, using focused images if the mouse is inside the docking guide or unfocused images if it is outside. |
Target class for AuiSingleDockingGuide and AuiCenterDockingGuide.
Default class constructor. Used internally, do not call it in your code!
Parameters: |
|
---|
Draws the whole docking guide window (not used if the docking guide images are ok).
Parameters: | dc – a wx.DC device context object. |
---|
Draws the docking guide arrow icon (not used if the docking guide images are ok).
Parameters: | dc – a wx.DC device context object. |
---|
Draws the docking guide background.
Parameters: | dc – a wx.DC device context object. |
---|
Draws a dotted line (not used if the docking guide images are ok).
Parameters: |
---|
Draws the docking guide icon (not used if the docking guide images are ok).
Parameters: | dc – a wx.DC device context object. |
---|
Handles the wx.EVT_ERASE_BACKGROUND event for AuiDockingGuideWindow.
Parameters: | event – a wx.EraseEvent to be processed. |
---|
Note
This is intentionally empty to reduce flickering while drawing.
Handles the wx.EVT_PAINT event for AuiDockingGuideWindow.
Parameters: | event – a wx.PaintEvent to be processed. |
---|
Sets the docking direction as valid or invalid.
Parameters: | valid – whether the docking direction is allowed or not. |
---|