Skip to main content

Argumentos

ImGuiWindow
obrigatório
ImGuiWindow object returned by imgui.create. A destroyed or invalid window raises a Lua error.
string
obrigatório
Checkbox label string passed to the rendered ImGui checkbox.
any
obrigatório
Initial checked value. nil and false are treated as false; other values are treated as true.
function
obrigatório
Function stored for this checkbox and invoked with the new boolean state after a change event is processed.

Retornos

ImGuiWindow
The same ImGuiWindow object, allowing chained method calls.

Tipos

ImGuiWindow

Identificador retornado por imgui.create. Os métodos de construção de controle retornam o mesmo identificador para que as chamadas possam ser encadeadas.