MarkupParser

class MarkupParser(pointer: <Error class: unknown class><<Error class: unknown class>>) : Record

Any of the fields in #GMarkupParser can be null, in which case they will be ignored. Except for the @error function, any of these callbacks can set an error; in particular the %G_MARKUP_ERROR_UNKNOWN_ELEMENT, %G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, and %G_MARKUP_ERROR_INVALID_CONTENT errors are intended to be set from these callbacks. If you set an error from a callback, g_markup_parse_context_parse() will report that error back to its caller.

Skipped during bindings generation

  • field start_element: Fields with callbacks are not supported

  • field end_element: Fields with callbacks are not supported

  • field text: Fields with callbacks are not supported

  • field passthrough: Fields with callbacks are not supported

  • field error: Fields with callbacks are not supported

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion : RecordCompanion<MarkupParser, <Error class: unknown class>>

Properties

Link copied to clipboard
val glibMarkupParserPointer: <Error class: unknown class><<Error class: unknown class>>