Skip to main content

Аргументы

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

Возвраты

ImGuiWindow
The same ImGuiWindow object, allowing chained method calls.

Типы

ImGuiWindow

Дескриптор, возвращаемый imgui.create. Методы создания элементов управления возвращают один и тот же дескриптор, поэтому вызовы можно объединять в цепочки.