Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GameTooltip SetFrameStack

Last wiki revision 2020-08-30

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.

GameTooltip:SetFrameStack([showHidden, showRegion, highlightIndexChanged])

  • showhidden : boolean - If true, includes in the display those frames which are currently hidden. Defaults to false.
  • showRegion : boolean - If true, includes frame regions. Defaults to false.
  • highlightIndexChanged : number - Which direction and by how much the index arrow should jump, e.g. -1, 1, 2, 3. Defaults to 0.

Sets the GameTooltip to show mouseover frame stack information, includes hidden frames and frame regions and moves the index arrow downwards by 1. GameTooltip:SetFrameStack(true, true, 1)

The frame listing on a tooltip after this function is called are arranged by frame strata and 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
  • /framestack

Source

https://warcraft.wiki.gg/wiki/API_GameTooltip_SetFrameStack · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.