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.
Gtk.StyleProperties to use when resolving named colors, or null
true if the color has been resolved
Converts the given color to a string representation. This is useful
both for debugging and for serialization of strings. The format of
the string may change between different versions of GTK, but it is
guaranteed that the GTK css parser is able to read the string and
create the same symbolic color from it.
a new string representing color
Decreases the reference count of color, freeing its memory if the
reference count reaches 0.
Staticnew_Staticnew_Staticnew_Staticnew_Staticnew_Staticnew_
GtkSymbolicColor is a boxed type that represents a symbolic color. It is the result of parsing a [color expression][gtkcssprovider-symbolic-colors]. To obtain the color represented by a GtkSymbolicColor, it has to be resolved with
gtk_symbolic_color_resolve(), which replaces all symbolic color references by the colors they refer to (in a given context) and evaluates mix, shade and other expressions, resulting in a Gdk.RGBA value.It is not normally necessary to deal directly with
GtkSymbolicColors, since they are mostly used behind the scenes by Gtk.StyleContext and Gtk.CssProvider.Gtk.SymbolicColor is deprecated. Symbolic colors are considered an implementation detail of GTK+.