FindFrameOfType
function · ui · orchestration
- Address
0x76c760· 124 bytes, up to0x76c7db- Meaning
- Returns the object a global of a name holds when it is a table passing a type test
- Confidence
- verified, proof two
- Finding
- ui/widgettype#finding-a-widget-by-name
Finding: Finding a widget by name in ui: widget types and names
A name string is read as a global of the Lua state and must be a table whose element 0 is an object
that accepts the id asked. Any global that holds a widget's table resolves, a frame's published
name or an alias an addon assigned. A name that does not resolve raises for SetPoint and
SetAllPoints; each caller picks its id, and only the layout front end expands $parent.
The derivation is in the doc.
Callers 11
- CheckGlueScreenSize glue
- Script::SetCharCustomizeFrame glue
- Script::SetCharSelectModelFrame glue
- Script::SetPortraitToTexture ui
- CGGameUI::Initialize ui
- LayoutCacheRead ui
- CGTooltip::PostLoadXML ui
- CreateFrameFromXML ui
- CScriptRegion::GetLayoutFrameByName ui
- ScrollFrame::SetScrollChild ui
- Region::SetParent ui
Callees 7
- lua_settop lua
- lua_type lua
- lua_touserdata lua
- lua_pushstring lua
- lua_gettable lua
- lua_rawgeti lua
- FrameScript::GetContext ui
Calls and jumps by a bare address, from tables/calls.tsv.