A docking guide window for multiple docking hint (diamond-shaped HUD).
wx.lib.agw.aui.framemanager.AuiDockingGuide
Default class constructor. |
|
Moves the docking guide window to the new position. |
|
Creates the docking guide window shape based on which docking bitmaps are used. |
|
Checks if the mouse position is inside the target windows rect. |
|
Handles the |
|
Handles the |
|
Sets the correct shape for the docking guide window. |
|
Updates the docking guides images depending on the mouse position, using focused |
|
Sets whether a pane can be docked on top of another to create an automatic |
AuiCenterDockingGuide
(AuiDockingGuide)¶A docking guide window for multiple docking hint (diamond-shaped HUD).
__init__
(self, parent)¶Default class constructor. Used internally, do not call it in your code!
parent – the AuiManager
parent.
AeroMove
(self, pos)¶Moves the docking guide window to the new position.
pos (wx.Point) – the new docking guide position.
CreateShapesWithStyle
(self)¶Creates the docking guide window shape based on which docking bitmaps are used.
HitTest
(self, x, y)¶Checks if the mouse position is inside the target windows rect.
x (integer) – the x mouse position;
y (integer) – the y mouse position.
OnEraseBackground
(self, event)¶Handles the wx.EVT_ERASE_BACKGROUND
event for AuiCenterDockingGuide
.
event – EraseEvent
to be processed.
Note
This is intentionally empty to reduce flickering while drawing.
OnPaint
(self, event)¶Handles the wx.EVT_PAINT
event for AuiCenterDockingGuide
.
event – a PaintEvent
to be processed.
SetGuideShape
(self, event=None)¶Sets the correct shape for the docking guide window.
event – on wxGTK, a wx.WindowCreateEvent
event to process.
UpdateDockGuide
(self, pos)¶Updates the docking guides images depending on the mouse position, using focused images if the mouse is inside the docking guide or unfocused images if it is outside.
pos (wx.Point) – the mouse position.
ValidateNotebookDocking
(self, valid)¶Sets whether a pane can be docked on top of another to create an automatic
AuiNotebook
.
valid (bool) – whether a pane can be docked on top to another to form an automatic
AuiNotebook
.