API Reference

LibQTipClick-1.0

LibQTipClick-1.0 acts as a subset of LibQTip-1.0 and as such uses its API in addition to its own unique functionality.

.LabelProvider

.LabelProvider is a built-in CellProvider used by default to create the tooltip cells.

Tooltip

Each tooltip is a proper Frame instance with all Frame methods, the methods supplied by LibQTip, and the following methods:

:AddNormalLine([column1Value, column2Value, ...])

Add a new line at the bottom of the tooltip. As the name implies, this is a "normal" line which is not mouse-aware and is functionally equivalent to LibQTip's tooltip:AddLine().

:AddNormalHeader([col1Value, col2Value, ...])

Add a new header line at the bottom of the tooltip. Works as AddNormalLine but using the header font. Functionally equivalent to LibQTip's tooltip:AddHeader().

:SetCallback(event, callback)

Designates the callback function to be used when the appointed event occurs.

Arguments

event
string - event to which the callback responds. Valid events are "OnMouseDown", "OnEnter", and "OnLeave"
callback
function - handler function for the event.

Comments

Posts Quoted:
Reply
Clear All Quotes