RcStyle.parsePriority

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

class RcStyle
deprecated static
uint
parsePriority

Parameters

scanner ScannerG

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

priority GtkPathPriorityType

A pointer to GtkPathPriorityType 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