RcStyle.parseState

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

class RcStyle
static
uint
parseState

Parameters

scanner ScannerG

a GtkScanner (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.

Meta