-
Notifications
You must be signed in to change notification settings - Fork 1
API: LibQTip 2.0.Column
(method) LibQTip-2.0.Column:GetCell(rowIndex: integer, cellProvider?: LibQTip-2.0.CellProvider)
-> LibQTip-2.0.Cell
@param rowIndex
— Row index of the Cell.
@param cellProvider
— CellProvider to use instead of the default one. Defaults to LibQTip.DefaultCellProvider.
(method) LibQTip-2.0.Column:SetColor(r?: number, g?: number, b?: number, a?: number)
-> column: LibQTip-2.0.Column
Sets the background color for the Column.
@param r
— Red color value of the Column. Defaults to the Tooltip's current red value.
@param g
— Green color value of the Column. Defaults to the Tooltip's current green value.
@param b
— Blue color value of the Column. Defaults to the Tooltip's current blue value.
@param a
— Alpha level of the Column. Defaults to 1.
(method) LibQTip-2.0.Column:SetScript(scriptType: LibQTip-2.0.ScriptType, handler: fun(frame: Frame, ...any), arg?: unknown)
-> column: LibQTip-2.0.Column
@param scriptType
— The ScriptType to assign to the Column.
@param handler
— The function called when the script is run. Parameters conform to the given ScriptType.
@param arg
— Data to be passed to the script function.
scriptType:
| "OnEnter"
| "OnLeave"
| "OnMouseDown"
| "OnMouseUp"
| "OnReceiveDrag"
(method) LibQTip-2.0.Column:SetTextColor(r?: number, g?: number, b?: number, a?: number)
-> column: LibQTip-2.0.Column
Sets the text color for every Cell in the Column.
@param r
— Red color value of the Cell's text. Defaults to the red value of the Cell's FontString.
@param g
— Green color value of the Cell's text. Defaults to the green value of the Cell's FontString.
@param b
— Blue color value of the Cell's text. Defaults to the blue value of the Cell's FontString.
@param a
— Alpha level of the Cell's text. Defaults to 1.