Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API GameTooltip SetFrameStack
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{widgetmethod}} __NOTOC__ Displays the frame stack of the mouse cursor's current position on the tooltip. This is not intended to be used in typical addons, but is part of the Blizzard_DebugTools "builtin addon" inspired by DevTools. == Arguments == :(showhidden) :; showhidden : Boolean - If true, includes in the display those frames which are currently [[API_Region_Hide|hidden]]. == Returns == :nil == Example == GameTooltip_SetDefaultAnchor(GameTooltip, UIParent) GameTooltip:'''SetFrameStack'''(true) Shows the GameTooltip with information about the frames over which the mouse is currently hovering. == Notes == 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 shown. No 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: * Yellow/Orange : frame for which IsMouseEnabled is true * Blue/Teal : frame for which IsMouseEnabled is false * DarkGrey/LightGrey : frame that is hidden (when ''showhidden'' is true) In each of those pairs, the colors alternate based on the frame level. For example, in a series of four frames all with the mouse enabled and within the same frame level the colors will alternate like this: * 4 Orange * 3 Yellow * 2 Orange * 1 Yellow
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Widget
(
edit
)
Template:Widgetmethod
(
edit
)