rcParseState

Parses a #GtkStateType variable from the format expected in a RC file.

More...

Parameters

scanner glib.scanner.Scanner

a #GScanner (must be initialized for parsing an RC file)

state gtk.types.StateType

A pointer to a #GtkStateType variable in which to store the result.

Return Value

Type: uint

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

Detailed Description

Deprecated: Use #GtkCssProvider instead