1Gtk2::Buildable::ParseCUosnetrexCto(n3t)ributed Perl DocGutmke2n:t:aBtuiiolndable::ParseContext(3)
2
3
4
6 Gtk2::Buildable::ParseContext
7
9 This object contains context of the XML subset parser used by
10 Gtk2::Builder. Objects of this type will be passed to the methods
11 invoked on the parser returned from your Gtk2::Buildable's
12 "CUSTOM_TAG_START". You should use these methods to create useful
13 error messages, as necessary.
14
16 string = $parse_context->get_element
17 Return the name of the currently open element.
18
19 list = $parse_context->get_element_stack
20 Returns the element stack; the first item is the currently-open tag
21 (which would be returned by "get_element()"), and the next item is its
22 immediate parent.
23
24 Since: glib 2.16
25
26 (line_number, char_number) = $parse_context->get_position
28 Gtk2, Gtk2::Buildable
29
31 Copyright (C) 2003-2011 by the gtk2-perl team.
32
33 This software is licensed under the LGPL. See Gtk2 for a full notice.
34
35
36
37perl v5.32.1 2021-01-27 Gtk2::Buildable::ParseContext(3)