Skip to main content

Arguments

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

Retours

ImGuiWindow
The same ImGuiWindow object, allowing chained method calls.

Types

ImGuiWindow

Handle renvoyé par imgui.create. Les méthodes de création de contrôle renvoient le même handle afin que les appels puissent être chaînés.