Skip to main content
Appends a RGBA color editor to an ImGuiWindow and stores the callback. Missing or nil color components default to 1.0. When the rendered editor changes, the callback is queued and later invoked with red, green, blue, and alpha. 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.