MarkupParseContext#

class MarkupParseContext(**kwargs)#
Constructors:

new(parser:GLib.MarkupParser, flags:GLib.MarkupParseFlags, user_data=None, user_data_dnotify:GLib.DestroyNotify) -> GLib.MarkupParseContext

Constructors#

class MarkupParseContext
classmethod new(parser: MarkupParser, flags: MarkupParseFlags, user_data: None, user_data_dnotify: Callable[[None], None]) MarkupParseContext#
Parameters:
  • parser

  • flags

  • user_data

  • user_data_dnotify

Methods#

class MarkupParseContext
end_parse() bool#
free() None#
get_element() str#
get_element_stack() list[str]#
get_position() tuple[int, int]#
get_user_data() None#
parse(text: str, text_len: int) bool#
Parameters:
  • text

  • text_len

pop() None#
push(parser: MarkupParser, user_data: None) None#
Parameters:
  • parser

  • user_data