Function

Gtkrc_parse_color

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 GScanner
 

A GScanner.

 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.