Function

Gtkrc_parse_color_full

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 GScanner
 

A GScanner.

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

A GtkRcStyle, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
color PangoColor
 

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

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

Return value

Returns: guint
 

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