Function
Gtkrc_parse_state
deprecated: 3.0
[−]
Description [src]
Parses a GtkStateType
variable from the format expected
in a RC file.
Deprecated since: 3.0
Use GtkCssProvider
instead.
[−]
Parameters
scanner
-
Type:
GScanner
A
GScanner
(must be initialized for parsing an RC file).The data is owned by the caller of the function. state
-
Type:
GtkStateType
A pointer to a
GtkStateType
variable 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.