Gtk.SymbolicColor.prototype.resolve
function resolve(props:Gtk.StyleProperties):Boolean { // Gjs wrapper for gtk_symbolic_color_resolve() }
If color is resolvable, resolved_color will be filled in with the resolved color, and true will be returned. Generally, if color can't be resolved, it is due to it being defined on top of a named color that doesn't exist in props.
When props is null, resolving of named colors will fail, so if your color is or references such a color, this function will return false.
Since 3.0
- props
Gtk.StyleProperties to use when resolving named colors, or null
- Returns
true if the color has been resolved