Inheritance diagram for AuiDockingGuideWindow:
Target class for L{AuiSingleDockingGuide} and L{AuiCenterDockingGuide}.
Bases: wx._core.Window
Target class for L{AuiSingleDockingGuide} and L{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).
Parameter: | dc – a L{wx.DC} device context object. |
---|
Draws the docking guide arrow icon (not used if the docking guide images are ok).
Parameter: | dc – a L{wx.DC} device context object. |
---|
Draws the docking guide background.
Parameter: | dc – a L{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).
Parameter: | dc – a L{wx.DC} device context object. |
---|
Handles the wx.EVT_ERASE_BACKGROUND event for L{AuiDockingGuideWindow}. This is intentiobnally empty to reduce flickering while drawing.
Parameter: | event – L{wx.EraseEvent} to be processed. |
---|
Handles the wx.EVT_PAINT event for L{AuiDockingGuideWindow}.
Parameter: | event – a L{wx.PaintEvent} to be processed. |
---|
Sets the docking direction as valid or invalid.
Parameter: | valid – whether the docking direction is allowed or not. |
---|
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.
Parameter: | pos – a L{wx.Point} mouse position. |
---|