wx.lib.agw.aui.framemanager.AuiDockingHintWindow¶
The original wxAUI docking window hint.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Default class constructor. Used internally, do not call it in your code! |
|
Creates the “venetian blind” effect if |
|
Handles the |
|
Handles the |
|
Sets whether venetian blinds or transparent hints will be shown as docking hint. |
|
If the platform supports it, sets the shape of the window to that depicted by region. |
|
Show the hint window. |
Class API¶
- class AuiDockingHintWindow(wx.Frame)¶
The original wxAUI docking window hint.
Methods¶
- __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:
parent – the
AuiManagerparent;id (integer) – the window identifier. It may take a value of -1 to indicate a default value.
title (string) – the caption to be displayed on the frame’s title bar;
pos (wx.Point) – the window position. A value of (-1, -1) indicates a default position, chosen by either the windowing system or wxPython, depending on platform;
size (wx.Size) – the window size. A value of (-1, -1) indicates a default size, chosen by either the windowing system or wxPython, depending on platform;
style (integer) – the window style;
name (string) – the name of the window. This parameter is used to associate a name with the item, allowing the application user to set Motif resource values for individual windows.
- MakeVenetianBlinds(self)¶
Creates the “venetian blind” effect if
AuiManagerhas theAUI_MGR_VENETIAN_BLINDS_HINTflag set.
- OnPaint(self, event)¶
Handles the
wx.EVT_PAINTevent forAuiDockingHintWindow.- Parameters:
event – an instance of
PaintEventto be processed.
- OnSize(self, event)¶
Handles the
wx.EVT_SIZEevent forAuiDockingHintWindow.- Parameters:
event – a
wx.SizeEventto be processed.
- SetBlindMode(self, agwFlags)¶
Sets whether venetian blinds or transparent hints will be shown as docking hint. This depends on the
AuiManagerflags.- Parameters:
agwFlags (integer) – the
AuiManagerflags.
- 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
SetShapeagain 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.