| Trees | Indices | Help |
|
|---|
|
|
Base Tooltip class
Usage:
tooltip = BaseTooltip()
....
tooltip.show_tooltip(data, widget_height, widget_y_position)
....
if tooltip.timeout != 0:
tooltip.hide_tooltip()
* data - the text to be displayed (extenders override this argument and
display more complex contents)
* widget_height - the height of the widget on which we want to show tooltip
* widget_y_position - the vertical position of the widget on the screen
Tooltip is displayed aligned centered to the mouse poiner and 4px below the widget.
In case tooltip goes below the visible area it is shown above the widget.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|
Helper function used for tooltip contacts/acounts Tooltip on account has fake contact with sub == '', in this case we show real status of the account |
|
|
|
Show tooltip on widget Data contains needed data for tooltip contents. widget_height is the height of the widget on which we show the tooltip. widget_y_position is vertical position of the widget on the screen. |
|
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 12 02:07:16 2010 | http://epydoc.sourceforge.net |