Region::SetParent
function · ui · orchestration
- Address
0x7a1550· 669 bytes, up to0x7a17ec- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Region method SetParent: nil, a frame name or a frame table, refusing a loop, through slot 0x14
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- ui/visibility#reparenting-by-script
Finding: Reparenting by script in ui: visibility, alpha and scale
SetParent takes nil, a frame name or a frame table. Nil leaves the frame with no parent, a string or
number names a global frame (no $parent expansion), a table must hold a frame, and a missing
argument raises Couldn't find region named. A parent that is the frame or one of its descendants
raises Would create a loop parenting to %s. The same parent changes nothing; otherwise a visible frame is hidden before and shown after only if the new parent is nil or
visible. It takes the new parent's stratum, level plus one, scale and 0x2000 bit, which 0x76a400 hands to the whole subtree, or 3, 0, 1.0 and 0 for nil. Its children keep their levels.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 8
- lua_settop lua
- lua_type lua
- lua_isstring lua
- lua_tostring lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
- FindFrameOfType ui
Calls and jumps by a bare address, from tables/calls.tsv.