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. تقوم أساليب بناء التحكم بإرجاع نفس المقبض بحيث يمكن ربط المكالمات بالتسلسل.