CheckButton::GetChecked
function · ui · primitive
- Address
0x799ca0· 178 bytes, up to0x799d51- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the CheckButton method GetChecked, its pair in the table 0x87bf74
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/button#checkbutton
Finding: CheckButton in ui: Button and CheckButton
SetChecked(checked, force) stores the flag unless unchanged and not forced, hides both checked
textures and, when checked, shows the disabled one if the button is disabled and has it, else the
checked one. Enabling or disabling refreshes this. A click toggles the check before running the
button's click, so Click() toggles even a disabled check button, which then runs no script. A
double click does not toggle: the second release of a quick pair runs OnDoubleClick alone, so
the pair toggles once.
Lua's SetChecked reads its argument as a flag with default 1, so no argument checks;
GetChecked returns 1 or nil.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- lua_settop lua
- lua_type lua
- lua_touserdata lua
- lua_pushnil lua
- lua_pushnumber lua
- lua_rawgeti lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.