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 によって返されるハンドル。コントロール構築メソッドは同じハンドルを返すため、呼び出しを連鎖させることができます。