Function

Gtkrc_parse_color_full

deprecated: 3.0 since: 2.12

Declaration [src]

guint
gtk_rc_parse_color_full (
  GScanner* scanner,
  GtkRcStyle* style,
  GdkColor* color
)

Description [src]

Parses a color in the format expected in a RC file. If style is not NULL, it will be consulted to resolve references to symbolic colors.

Available since: 2.12

Deprecated since: 3.0

Use GtkCssProvider instead.

Parameters

scanner

Type: GScanner

A GScanner.

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

Type: GtkRcStyle

A GtkRcStyle, or NULL.

The argument can be NULL.
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.