Function
Gtkrc_parse_state
deprecated: 3.0
Declaration [src]
guint
gtk_rc_parse_state(
GScanner*scanner,
GtkStateType*state
)
Description [src]
Parses a GtkStateType variable from the format expected
in a RC file.
Deprecated since: 3.0
Use GtkCssProvider instead.
Parameters
scanner-
Type:
A
GScanner(must be initialized for parsing an RC file).The data is owned by the caller of the function. state-
Type:
GtkStateTypeA pointer to a
GtkStateTypevariable in which to store the result.The argument will be set by the function.The caller of the function takes ownership of the returned data, and is responsible for freeing it.
Return value
Type: guint
G_TOKEN_NONE if parsing succeeded, otherwise the token
that was expected but not found.