lookupColor

open fun lookupColor(colorName: String, color: <Error class: unknown class>): Boolean(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

This api will be removed in GTK 5

---

Looks up and resolves a color name in the @context color map.

Return

true if @color_name was found and resolved, false otherwise

Parameters

colorName

color name to lookup

color

Return location for the looked up color