LibQTip-1.0

  • 5 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
API reference Adirelle Torhal Nov 16, 2014
LibQTip-1.0 LibQTip-1.0 acts as a tooltip Factory. :Acquire(key[, numColumns, column1Justification, column2justification, ...]) Create or retrieve the tooltip with the given key. If additional arguments are passed, they are passed to :SetColumnLayout for the acquired tooltip. Arguments key string or table - the tooltip key. Any value that can be used as a table key is accepted though you should try to provide unique keys to avoid conflicts. Numbers and booleans should be avoided and strings...
Getting started Adirelle Torhal May 09, 2009
Embedding LibQTip into your addon LibQTip uses LibStub, and is designed to be embedded directly within your AddOn. Using the WoWAce .pkgmeta feature If your AddOn is hosted on WoWAce, you can use the .pkgmeta externals feature to have the packager embed LibQTip for you. This .pkgmeta example automatically embeds the latest tagged version of LibStub and LibQTip-1.0: externals: libs/LibStub: url: svn://svn.wowace.com/wow/libstub/mainline/trunk tag: latest libs/LibQTip-1.0: url:...
How to add custom cells Adirelle Torhal Sep 03, 2010
Custom cells are handled using the "abstract factory" design pattern: LibQTip expects a factory (the CellProvider) able to create the cells. The CellProvider and the Cells should implement a given interface: CellProvider and Cell. In each of the following examples, we create a custom cell providing colored labels. Home brew CellProvider The Cell First look at the Cell interface. A LibQtip Cell should be a Frame widget that implements an additional method :SetupCell. Parenting, showing/hiding...
Main Torhal Torhal Oct 30, 2009
LibQTip is designed replace GameTooltip - but with added functionality, such as multiple columns - from a minimalist design perspective. Features Ability to display and handle multiple tooltips at the same time, Unlimited number of columns and lines, Column default and per cell justification, Tooltip default and per cell font setting, Colspans, Possibility to add custom cells, Optional scrollbar, Optional scripts for lines, columns, or cells, Optional automatic hiding, Frames and tables...
Standard CellProvider API Adirelle Torhal Dec 19, 2008
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 :IterateCells() Return an iterator on currently acquired cells. Return value cellIterator iterator - an iterator to be used in a "for in" loop. Cell optional methods :InitializeCell() This method is called once on newly created Cells. It should be...
  • 5 pages found