Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Struct Gtk.SymbolicColor

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkSymbolicColor
Struct : 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 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 GdkRGBA value.
It is not normally necessary to deal directly with GtkSymbolicColors,
since they are mostly used behind the scenes by GtkStyleContext and
GtkCssProvider.
Properties
None
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk.Gradient
Method
add_color_stop (gdouble offset, SymbolicColor color) : none
Adds a stop color to gradient.
Gtk.StyleProperties
Method
lookup_color (String name) : Gtk.SymbolicColor
Returns the symbolic color that is mapped
to name.
Gtk.StyleProperties
Method
map_color (String name, SymbolicColor color) : none
Maps color so it can be referenced by name.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:15:25 GMT+0800 (HKT)