Function

Gtkrc_parse_color

deprecated: 3.0 

Declaration [src]

guint
gtk_rc_parse_color (
  GScanner* scanner,
  GdkColor* color
)

Description [src]

Parses a color in the format expected in a RC file.

Note that theme engines should use gtk_rc_parse_color_full() in order to support symbolic colors.

Deprecated since: 3.0

Use GtkCssProvider instead.

Parameters

scanner

Type: GScanner

A GScanner.

The data is owned by the caller of the function.
color

Type: GdkColor

A pointer to a GdkColor in which to store the result.

The argument will be set by the function.
The returned data is owned by the function.

Return value

Type: guint

G_TOKEN_NONE if parsing succeeded, otherwise the token that was expected but not found.