Skip to main content

Argümanlar

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

Dönüşler

ImGuiWindow
The same ImGuiWindow object, allowing chained method calls.

Tipler

ImGuiWindow

imgui.create tarafından döndürülen tanıtıcı. Kontrol oluşturma yöntemleri aynı tanıtıcıyı döndürür, böylece çağrılar zincirlenebilir.