Base class for the different Windows and Mac implementation.
wx.lib.agw.supertooltip.ToolTipWindow
Default class constructor. |
|
Handles the |
|
Calculates the |
|
Adds a shadow under the window. |
|
Invalidate |
|
Makes the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Sets the |
|
Start the timer which set the alpha channel for |
Base class for the different Windows and Mac implementation.
Default class constructor.
parent – the SuperToolTip
parent widget;
classParent – the SuperToolTip
class object.
Handles the wx.EVT_TIMER
event for SuperToolTip
.
event – a TimerEvent
event to be processed.
Calculates the SuperToolTip
window best size.
Adds a shadow under the window.
drop – whether to drop a shadow or not.
Note
This method is available only on Windows and requires Mark Hammond’s pywin32 package.
Invalidate SuperToolTip
size and repaint it.
Makes the SuperToolTip
window transparent.
amount – the alpha channel value.
Note
This method is available only on Windows and requires Mark Hammond’s pywin32 package.
Handles the wx.EVT_LEFT_DOWN
, wx.EVT_LEFT_DCLICK
and wx.EVT_KILL_FOCUS
events for SuperToolTip
. All these events destroy the SuperToolTip
,
unless the user clicked on one hyperlink.
event – a MouseEvent
or a FocusEvent
event to be processed.
Handles the wx.EVT_ERASE_BACKGROUND
event for SuperToolTip
.
event – a EraseEvent
event to be processed.
Note
This method is intentionally empty to reduce flicker.
Handles the wx.EVT_MOTION
event for SuperToolTip
.
event – a MouseEvent
event to be processed.
Handles the wx.EVT_PAINT
event for SuperToolTip
.
If the event parameter is None
, calculates best size and returns it.
event – a PaintEvent
event to be processed or None
.
Handles the wx.EVT_SIZE
event for SuperToolTip
.
event – a wx.SizeEvent
event to be processed.
Sets the SuperToolTip
font globally.
font – the font to set.
Start the timer which set the alpha channel for SuperToolTip
.
isShow – whether SuperToolTip
is being shown or deleted.
Note
This method is available only on Windows and requires Mark Hammond’s pywin32 package.