|
Drag[en]gine Script Module DragonScript 1.32.1
|
Tracks desktop mouse pointer events to display tool tips. More...
Classes | |
| class | ListenMousePointer |
Public Member Functions | |
| void | dispose () |
| Dispose of tool tip manager. | |
| Desktop | getDesktop () |
| Desktop to listen on. | |
| WindowToolTip | getPopup () |
| Popup window. | |
| Object | getToolTip () |
| Shown tool tip or null. | |
| ToolTipManager | new (Desktop desktop) |
| Create tool tip manager. | |
| void | onToolTipChanged () |
| Tool tip changed. | |
| void | update () |
| Update tool tip. | |
Public Attributes | |
| Desktop | pDesktop |
| WindowToolTip | pPopup |
| Object | pToolTip |
Protected Member Functions | |
| Point | calculateToolTipPosition () |
| Calculate position to show tool tip at. | |
| void | setPopup (WindowToolTip popup) |
| Set popup window. | |
| void | setToolTip (Object toolTip) |
| Set tool tip to show or null. | |
| void | updatePopup () |
| Update popup window content. | |
Tracks desktop mouse pointer events to display tool tips.
Supports tool tips of type String and StyledTextDocument
|
protected |
Calculate position to show tool tip at.
Position is located at lower left corner of mouse pointer. If mouse pointer is null the mouse pointer size is considered to be 0
| void Dragengine.Gui.ToolTipManager.dispose | ( | ) |
Dispose of tool tip manager.
| Desktop Dragengine.Gui.ToolTipManager.getDesktop | ( | ) |
Desktop to listen on.
| WindowToolTip Dragengine.Gui.ToolTipManager.getPopup | ( | ) |
Popup window.
| Object Dragengine.Gui.ToolTipManager.getToolTip | ( | ) |
Shown tool tip or null.
| ToolTipManager Dragengine.Gui.ToolTipManager.new | ( | Desktop | desktop | ) |
Create tool tip manager.
| desktop | Desktop widget to listen on. |
| void Dragengine.Gui.ToolTipManager.onToolTipChanged | ( | ) |
Tool tip changed.
|
protected |
Set popup window.
Disposes of the previous popup window if present.
|
protected |
Set tool tip to show or null.
| void Dragengine.Gui.ToolTipManager.update | ( | ) |
Update tool tip.
|
protected |
Update popup window content.
| Desktop Dragengine.Gui.ToolTipManager.pDesktop |
| WindowToolTip Dragengine.Gui.ToolTipManager.pPopup |
| Object Dragengine.Gui.ToolTipManager.pToolTip |