View Single Post
10/04/21, 01:07 AM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,987
You can use the addon merTorchbug or zgoo to inspect the control below your mouse ingame.
e.g. type /tbm or /zgoo mouse into the chat box and press the return key.

An inspector should open showing you the contents of the control, like the name, some attributes like hidden (which relates to IsHidden() return value) and others.
At the bottom (at least with merTorchbug) you can see the headline "Children" or "Childs" where you can see a list of the children of that parent.
At the top you cans ee the parent and owningWindow of the control itsself.
You can click the chilrden to open an inspector for them as well.

The __index is showing the metatables of the control/object/variable so that you can see where it comes/inherits from and what functions/Attributes are given (like a combobox control inherits from ZO_ComboBox "class" and the base class got some functions that can be used on the combobox control then as well).
  Reply With Quote