[ CCode ( ref_function = "gtk_symbolic_color_ref" , type_id = "gtk_symbolic_color_get_type ()" , unref_function = "gtk_symbolic_color_unref" ) ]
[ Compact ]
public class SymbolicColor
GtkSymbolicColor is a boxed type that represents a symbolic color.
It is the result of parsing a color expression. To obtain the color represented by a GtkSymbolicColor, it has to be resolved with
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
It is not normally necessary to deal directly with SymbolicColors, since they are mostly used behind the scenes by
StyleContext and CssProvider
SymbolicColor is deprecated. Symbolic colors are considered an implementation detail of GTK+.
- public unowned SymbolicColor @ref ()
Increases the reference count of this
- public bool resolve (StyleProperties? props, out RGBA resolved_color)
If this is resolvable,
resolved_color will be filled in with the resolved color, and true will be returned.
- public string to_string ()
Converts the given this to a string
- public void unref ()
Decreases the reference count of this,
freeing its memory if the reference count reaches 0.