Module SuperToolTip :: Class ToolTipWindowBase
[hide private]
[frames] | no frames]

Class ToolTipWindowBase

source code

object --+
         |
        ToolTipWindowBase
Known Subclasses:

Base class for the different Windows and Mac implementation.

Instance Methods [hide private]
 
__init__(self, parent, classParent)
Default class constructor.
source code
 
InitFont(self)
Initalizes the fonts for SuperToolTip.
source code
 
OnPaint(self, event)
Handles the wx.EVT_PAINT event for SuperToolTip.
source code
 
OnEraseBackground(self, event)
Handles the wx.EVT_ERASE_BACKGROUND event for SuperToolTip.
source code
 
OnSize(self, event)
Handles the wx.EVT_SIZE event for SuperToolTip.
source code
 
OnMouseMotion(self, event)
Handles the wx.EVT_MOTION event for SuperToolTip.
source code
 
OnDestroy(self, event)
Handles the wx.EVT_LEFT_DOWN, wx.EVT_LEFT_DCLICK and wx.EVT_KILL_FOCUS events for SuperToolTip.
source code
 
StartAlpha(self, isShow)
Start the timer which set the alpha channel for SuperToolTip.
source code
 
SetFont(self, font)
Sets the SuperToolTip font globally.
source code
 
Invalidate(self)
Invalidate SuperToolTip size and repaint it.
source code
 
DropShadow(self, drop=True)
Adds a shadow under the window (Windows XP only).
source code
 
AlphaCycle(self, event)
Handles the wx.EVT_TIMER event for SuperToolTip.
source code
 
MakeWindowTransparent(self, amount)
Makes the SuperToolTip window transparent.
source code
 
CalculateBestSize(self)
Calculates the SuperToolTip window best size.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, parent, classParent)
(Constructor)

source code 

Default class constructor.

Parameters:
Overrides: object.__init__

OnDestroy(self, event)

source code 

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.

StartAlpha(self, isShow)

source code 

Start the timer which set the alpha channel for SuperToolTip.

Parameters:

SetFont(self, font)

source code 

Sets the SuperToolTip font globally.

Parameters:
  • font - the font to set.

DropShadow(self, drop=True)

source code 

Adds a shadow under the window (Windows XP only).

Parameters:
  • drop - whether to drop a shadow or not.

MakeWindowTransparent(self, amount)

source code 

Makes the SuperToolTip window transparent.

Parameters:
  • amount - the alpha channel value.