WoW:API GameTooltip SetFrameStack: Difference between revisions

m
Move page script moved page API GameTooltip SetFrameStack to WoW:API GameTooltip SetFrameStack without leaving a redirect
(Initial writeup based on http://forums.worldofwarcraft.com/thread.html?topicId=25578318852&postId=255759571387&sid=1#2)
 
m (Move page script moved page API GameTooltip SetFrameStack to WoW:API GameTooltip SetFrameStack without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 17: Line 17:


== Notes ==
== Notes ==
The '''/framestack [S]''' slash command toggles a pre-declared GameTooltip and dispatches this function on it.  The optional '''S''' argument is interpreted as a boolean following the usual boolean type coercion rules, and passed to this method as the ''showhidden'' parameterFor example, <tt>'/framestack true'</tt> and <tt>'/framestack cheese'</tt> both show hidden frames.
The '''/framestack [showHidden]''' slash command toggles a pre-declared GameTooltip and dispatches this function on it.  When followed by 'true', hidden frames will also be shownNo value other than 'true' will cause hidden frames to be shown.


The frame listing on a tooltip after this function is called are arranged by [[UITYPE_FrameStrata|strata]] and [[FrameLevel#Frame_Levels|level]].  Within that list, the frames are colored:
The frame listing on a tooltip after this function is called are arranged by [[UITYPE_FrameStrata|strata]] and [[FrameLevel#Frame_Levels|level]].  Within that list, the frames are colored:
Anonymous user