Standard CellProvider API

The LibQTip :CreateCellProvider allows to easy creation of new CellProviders.

The created CellProvider implements an internal heap to recycle the cells and allows additional methods to be present in the Cell prototype.

Additional provider methods


Return an iterator on currently acquired cells.

Return value

iterator - an iterator to be used in a "for in" loop.

Cell optional methods


This method is called once on newly created Cells. It should be called to do one-time initialization.

By example, the default LabelProvider uses this method to create the cell FontString object.


This method is called each time a Cell is about to be put in the provider heap. This method should be used to do some cleanup.


Posts Quoted:
Clear All Quotes