-
Notifications
You must be signed in to change notification settings - Fork 1
API: LibQTip 2.0.CellProvider
James D. Callahan III edited this page May 3, 2023
·
1 revision
(method) LibQTip-2.0.CellProvider:AcquireCell()
-> cell: LibQTip-2.0.Cell
Acquire a new cell to be displayed in the tooltip. LibQTip manages parent, framelevel, anchors, visibility and size of the cell.
@return cell
— The acquired cell.
(method) LibQTip-2.0.CellProvider:GetCellPrototype()
-> cellPrototype: LibQTip-2.0.Cell
2. cellMetatable: LibQTip-2.0.Cell
Return the prototype and metatable used to create new cells.
@return cellPrototype
— The prototype on which cells are based.
@return cellMetatable
— The metatable used to create a new cell.
(method) LibQTip-2.0.CellProvider:IterateCells()
-> fun(tooltip: table<LibQTip-2.0.Cell, true|nil>, index?: LibQTip-2.0.Cell):LibQTip-2.0.Cell, true|nil
2. table<LibQTip-2.0.Cell, true|nil>
Return an iterator on currently acquired cells.
(method) LibQTip-2.0.CellProvider:ReleaseCell(cell: LibQTip-2.0.Cell)
Release a cell that LibQTip is no longer using. The cell has already been hidden, unanchored and orphaned by LibQTip.
@param cell
— The cell to release.