RcStyle.parseState

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

More...
class RcStyle
deprecated static
uint
parseState

Parameters

scanner ScannerG

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

state GtkStateType

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 gtk.CssProvider instead