BuildableParseContext.getElement

string getElement()

Retrieves the name of the currently open element.

If called from the start_element or end_element handlers this will give the element_name as passed to those functions. For the parent elements, see [gtk.buildable_parse_context.BuildableParseContext.getElementStack].

Returns

the name of the currently open element