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에서 반환된 핸들입니다. 컨트롤 구축 메서드는 동일한 핸들을 반환하므로 호출을 연결할 수 있습니다.