benilla-re systems structs docs

Script::CreateFrame

function · ui · orchestration

Address
0x7060b0 · 664 bytes, up to 0x706347
Signature
int __fastcall (lua_State *L)
Meaning
Creates a frame from Lua by type, name and template, its parent from the argument or else the template chain
Confidence
verified, proof two
Name from
the community database (idb)
Finding
ui/script#creating-a-frame-from-lua

Finding: Creating a frame from Lua in ui: the script layer and events

CreateFrame(type, name, parent, inherits) raises its usage unless type is a string or number and parent is absent, nil or a table. name and inherits are read as strings, a number becoming one, anything else absent; a string inherits must name a template, else it raises. The frame is created from a node of that type with those attributes. With a parent table the node also gets an empty parent, so the table is the parent; without one, it is the first parent the inherits chain gives, an empty one ending the walk with none. CreateTexture and CreateFontString read inherits only when it is a string, the font string trying a font object first; their layer defaults to ARTWORK.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 14

Calls and jumps by a bare address, from tables/calls.tsv.