The original wxAUI docking window hint.
__init__ |
Default class constructor. Used internally, do not call it in your code! |
MakeVenetianBlinds |
Creates the “venetian blind” effect if AuiManager has the AUI_MGR_VENETIAN_BLINDS_HINT |
OnPaint |
Handles the wx.EVT_PAINT event for AuiDockingHintWindow . |
OnSize |
Handles the wx.EVT_SIZE event for AuiDockingHintWindow . |
SetBlindMode |
Sets whether venetian blinds or transparent hints will be shown as docking hint. |
SetShape |
If the platform supports it, sets the shape of the window to that depicted by region. |
Show |
Show the hint window. |
AuiDockingHintWindow
(wx.Frame)¶The original wxAUI docking window hint.
__init__
(self, parent, id=wx.ID_ANY, title="", pos=wx.DefaultPosition, size=wx.Size(1, 1), style=wx.FRAME_TOOL_WINDOW | wx.FRAME_FLOAT_ON_PARENT | wx.FRAME_NO_TASKBAR | wx.NO_BORDER | wx.FRAME_SHAPED, name="auiHintWindow")¶Default class constructor. Used internally, do not call it in your code!
Parameters: |
|
---|
MakeVenetianBlinds
(self)¶Creates the “venetian blind” effect if AuiManager
has the AUI_MGR_VENETIAN_BLINDS_HINT
flag set.
OnPaint
(self, event)¶Handles the wx.EVT_PAINT
event for AuiDockingHintWindow
.
Parameters: | event – an instance of PaintEvent to be processed. |
---|
OnSize
(self, event)¶Handles the wx.EVT_SIZE
event for AuiDockingHintWindow
.
Parameters: | event – a wx.SizeEvent to be processed. |
---|
SetBlindMode
(self, agwFlags)¶Sets whether venetian blinds or transparent hints will be shown as docking hint.
This depends on the AuiManager
flags.
Parameters: | agwFlags (integer) – the AuiManager flags. |
---|
SetShape
(self, region)¶If the platform supports it, sets the shape of the window to that depicted by region.
The system will not display or respond to any mouse event for the pixels that lie
outside of the region. To reset the window to the normal rectangular shape simply call
SetShape
again with an empty region.
Parameters: | region (Region) – the shape of the frame. |
---|
Note
Overridden for wxMAC.
Show
(self, show=True)¶Show the hint window.
Parameters: | show (bool) – whether to show or hide the hint docking window. |
---|