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 recycling to reduce resource footprint.
Caveats
Look here for information on embedding the latest beta/release.
In order to achieve effective frame recycling, tooltips must be released. Holding a tooltip leads to the creation of a full set of frames for every AddOn which does not follow this practice. Moreover, releasing a tooltip has a very little overhead compared to its benefits.
Known issues
- Alignment may be altered when using :SetScale after filling the tooltip.
Documentation
- 6 comments
- 6 comments
Facts
- Date created
- 16 Oct 2008
- Categories
- Last update
- 21 Jul 2009
- Development stage
- Release
- License
- All Rights Reserved
- Curse link
- LibQTip-1.0
- Reverse relationships
- 59
- Recent files
- R: r120-release for 3.1.0 on 21 Jul 2009
- A: r119 for 3.1.0 on 21 Jul 2009
- A: r118 for 3.1.0 on 10 Jul 2009
- A: r117 for 3.1.0 on 08 Jul 2009
- A: r116 for 3.1.0 on 06 Jul 2009
Authors
Relationships
- Embedded library
- LibStub
- #6
Torhal Fri, 04 Sep 2009 20:13:37LibQTip creates tooltip frames as they are needed, and when an AddOn is finished using one it goes into a "recycle bin" - if an AddOn needs a tooltip, it grabs one from there or creates one if none exist. Therefore, it isn't possible to do what you are trying to do - Broker_AllXP might release a tooltip, then Broker_Auditor grabs the same one because it needs a tooltip frame.
- #5
Kuzah Wed, 26 Aug 2009 21:03:15I probably should have given more details from the start.
What I did was use TipTac and made it hide all borders and backgrounds for its tooltips. I then used kgPanels to parent and anchor panels to each of the tooltips (using the script feature to auto resize each frame). So far I've parented/anchored panels to gametooltip, itemreftooltip, shoppingtooltip1, shoppingtooltip2, shoppingtooltip3, and worldmaptooltip.
The only thing that doesn't have a panel showing on the tooltip is Auditor (as far as I know it's the only addon in my ui that uses LibQTip [and showing it via Fortress, a LDB display]). However, if I put a background back via TipTac it shows a tooltip for Auditor. I've tried using kgPanels' frame finder, but it returns the usual list and a bunch of Unknown. I also tried using a macro "GetMouseFocus():GetName()" but that only says WorldFrame.
TipTac had a list of tooltips in the lua which it skins. I've tried all the ones there, but can't get a panel on Auditor. Someone suggested I look at Auditor and find "Acquire('SomeTooltipName', 5, 'LEFT', 'CENTER')" and I found "Broker_AuditorTooltip", but when I tried that it didn't work either.
Is there something like a mother frame I could parent/anchor to for all of LibQTip's tooltips?
- #4
Adirelle Wed, 26 Aug 2009 09:48:05LibQTip produces anonymous frames and even if it named them, you will have hard time doing something consistent because there are reused in undefined order.
- #3
Kuzah Wed, 26 Aug 2009 06:16:17Probably a long shot, but I was wondering if anyone could tell me what the name is for the frame that LibQTip produces.
The kgpanel frame finder returns Unknown multiple times and the macro "/run DEFAULT_CHAT_FRAME:AddMessage(GetMouseFocus():GetName())" only says WorldFrame.
- #2
AesirRising Sat, 09 May 2009 02:02:32There have been several recent updates, and I'm hoping that at some point the TOC will be updated, too. Thanks. [I committed the change myself. Someone will be angry with me for some inane reason, but sometimes you just have to take a chance, yano?]
- #1
merah Sat, 21 Feb 2009 12:58:10very nice replacement to Tablet, ggood lib, /thumbup