Skip to main content
Appends a button element to an ImGuiWindow and stores the callback. When the rendered button is clicked, the callback is queued and later invoked without arguments. The method returns the same ImGuiWindow object.

Syntax

Arguments

Returns

Types

ImGuiWindow

Handle returned by imgui.create. Control-building methods return the same handle so calls can be chained.