RcStyle.parseState

Warning gtk_rc_parse_state has been deprecated since version 3.0 and should not be used in newly-written code. Use GtkCssProvider instead Parses a GtkStateType variable from the format expected in a RC file.

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. out

Return Value

Type: uint

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

Meta