Gtk2::Buildable::ParseContext(3pm)

Gtk2::Buildable::ParseContext3pm

Overview

This object contains context of the XML subset parser used by Gtk2::Builder. Objects of this type will be passed to the methods invoked on the parser returned from your Gtk2::Buildable's "CUSTOM_TAG_START". You should use these methods to create useful error messages, as necessary.

Methods

string = $parse_context->get_element

Return the name of the currently open element.

list = $parse_context->get_element_stack

Returns the element stack; the first item is the currently-open tag (which would be returned by "get_element()"), and the next item is its immediate parent.

Since: glib 2.16

(line_number, char_number) = $parse_context->get_position

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 9
  5. 10

From libgtk2-perl-doc 2:1.24992-1 in Debian 10 (Buster). Parsed by carta from the page's man source.