Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Package agw :: Module supertooltip :: Class ToolTipWindowBase |
|
object
--+
|
ToolTipWindowBase
ToolTipWindow
Base class for the different Windows and Mac implementation.
Method Summary | |
---|---|
Default class constructor. | |
Handles the wx.EVT_TIMER event for L{SuperToolTip}. | |
Calculates the L{SuperToolTip} window best size. | |
Adds a shadow under the window (Windows XP only). | |
Invalidate L{SuperToolTip} size and repaint it. | |
Makes the L{SuperToolTip} window transparent. | |
Handles the wx.EVT_LEFT_DOWN, wx.EVT_LEFT_DCLICK and wx.EVT_KILL_FOCUS events for L{SuperToolTip}. | |
Handles the wx.EVT_ERASE_BACKGROUND event for L{SuperToolTip}. | |
Handles the wx.EVT_MOTION event for L{SuperToolTip}. | |
Handles the wx.EVT_PAINT event for L{SuperToolTip}. | |
Handles the wx.EVT_SIZE event for L{SuperToolTip}. | |
Sets the L{SuperToolTip} font globally. | |
Start the timer which set the alpha channel for L{SuperToolTip}. |
Method Details |
---|
__init__(self,
parent,
classParent)
|
AlphaCycle(self, event)Handles the wx.EVT_TIMER event for L{SuperToolTip}. |
CalculateBestSize(self)Calculates the L{SuperToolTip} window best size. |
DropShadow(self, drop=True)Adds a shadow under the window (Windows XP only). @param drop: whether to drop a shadow or not. |
Invalidate(self)Invalidate L{SuperToolTip} size and repaint it. |
MakeWindowTransparent(self, amount)Makes the L{SuperToolTip} window transparent. @param amount: the alpha channel value. |
OnDestroy(self, event)Handles the wx.EVT_LEFT_DOWN, wx.EVT_LEFT_DCLICK and wx.EVT_KILL_FOCUS events for L{SuperToolTip}. All these events destroy the L{SuperToolTip}, unless the user clicked on one hyperlink. |
OnEraseBackground(self, event)Handles the wx.EVT_ERASE_BACKGROUND event for L{SuperToolTip}. |
OnMouseMotion(self, event)Handles the wx.EVT_MOTION event for L{SuperToolTip}. |
OnPaint(self, event)Handles the wx.EVT_PAINT event for L{SuperToolTip}. |
OnSize(self, event)Handles the wx.EVT_SIZE event for L{SuperToolTip}. |
SetFont(self, font)Sets the L{SuperToolTip} font globally. @param font: the font to set. |
StartAlpha(self, isShow)Start the timer which set the alpha channel for L{SuperToolTip}. @param isShow: whether L{SuperToolTip} is being shown or deleted. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:55:09 2009 | http://epydoc.sf.net |