// Package gtk was automatically generated by github.com/bnema/puregotk DO NOT EDIT package gtk // Errors that can occur while parsing CSS. // // These errors are unexpected and will cause parts of the given CSS // to be ignored. type CssParserError int const ( // Unknown failure. CssParserErrorFailedValue CssParserError = 0 // The given text does not form valid syntax CssParserErrorSyntaxValue CssParserError = 1 // Failed to import a resource CssParserErrorImportValue CssParserError = 2 // The given name has not been defined CssParserErrorNameValue CssParserError = 3 // The given value is not correct CssParserErrorUnknownValueValue CssParserError = 4 ) // Warnings that can occur while parsing CSS. // // Unlike `GtkCssParserError`s, warnings do not cause the parser to // skip any input, but they indicate issues that should be fixed. type CssParserWarning int const ( // The given construct is // deprecated and will be removed in a future version CssParserWarningDeprecatedValue CssParserWarning = 0 // A syntax construct was used // that should be avoided CssParserWarningSyntaxValue CssParserWarning = 1 // A feature is not implemented CssParserWarningUnimplementedValue CssParserWarning = 2 )