GLib.MarkupParser¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
end_element |
r |
||
error |
r |
||
passthrough |
r |
||
start_element |
r |
||
text |
r |
Methods¶
None
Details¶
- class GLib.MarkupParser¶
Any of the fields in
GLib.MarkupParser
can beNone
, in which case they will be ignored. Except for the error function, any of these callbacks can set an error; in particular theGLib.MarkupError.UNKNOWN_ELEMENT
,GLib.MarkupError.UNKNOWN_ATTRIBUTE
, andGLib.MarkupError.INVALID_CONTENT
errors are intended to be set from these callbacks. If you set an error from a callback,GLib.MarkupParseContext.parse
() will report that error back to its caller.