SymbolicColor


Object Hierarchy:

Gtk.SymbolicColor Gtk.SymbolicColor Gtk.SymbolicColor

Description:

[ 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 RGBA value.

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+.


Namespace: Gtk
Package: gtk+-3.0

Content:

Creation methods:

Methods: