/usr/share/perl5/Gtk2/TreePath.pod is in libgtk2-perl-doc 2:1.223-1build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | =head1 NAME
Gtk2::TreePath - wrapper for GtkTreePath
=cut
=head1 HIERARCHY
Glib::Boxed
+----Gtk2::TreePath
=cut
=head1 METHODS
=head2 treepath or undef = Gtk2::TreePath-E<gt>B<new> ($path=undef)
=over
=item * $path (string)
=back
Create a new path. For convenience, if you pass a value for I<$path>,
this is just an alias for C<new_from_string>.
=head2 treepath = Gtk2::TreePath-E<gt>B<new_first>
=head2 treepath or undef = Gtk2::TreePath-E<gt>B<new_from_indices> ($first_index, ...)
=over
=item * $first_index (integer) a non-negative index value
=item * ... (list) of zero or more index values
=back
The C API reference docs for this function say to mark the end of the list
with a -1, but Perl doesn't need list terminators, so don't do that.
This is specially implemented to be available for all gtk+ versions.
=head2 treepath or undef = Gtk2::TreePath-E<gt>B<new_from_string> ($path=undef)
=over
=item * $path (string)
=back
=head2 $path-E<gt>B<append_index> ($index_)
=over
=item * $index_ (integer)
=back
=head2 integer = $a-E<gt>B<compare> ($b)
=over
=item * $b (Gtk2::TreePath)
=back
Compares two paths. If I<$a> appears before I<$b> in the three, returns -1.
If I<$b> appears before I<$a>, returns 1. If the nodes are equal, returns 0.
=head2 integer = $path-E<gt>B<get_depth>
=head2 $path-E<gt>B<down>
Moves I<$path> to point to the first child of the current path.
=head2 list = $path-E<gt>B<get_indices>
Returns a list of integers describing the current indices of I<$path>.
=head2 boolean = $path-E<gt>B<is_ancestor> ($descendant)
=over
=item * $descendant (Gtk2::TreePath)
=back
=head2 boolean = $path-E<gt>B<is_descendant> ($ancestor)
=over
=item * $ancestor (Gtk2::TreePath)
=back
=head2 $path-E<gt>B<next>
Moves I<$path> to point to the next node at the current depth.
=head2 $path-E<gt>B<prepend_index> ($index_)
=over
=item * $index_ (integer)
=back
=head2 boolean = $path-E<gt>B<prev>
Moves I<$path> to point to the previous node at the current depth, if it
exists. Returns true if there is a previous node and I<$path> was modified.
=head2 string = $path-E<gt>B<to_string>
=head2 boolean = $path-E<gt>B<up>
Moves I<$path> to point to its parent node; returns false if there is no
parent.
=cut
=head1 SEE ALSO
L<Gtk2>, L<Glib::Boxed>
=cut
=head1 COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See L<Gtk2> for a full notice.
=cut
|