/usr/share/perl5/Gtk2/TreeSelection.pod is in libgtk2-perl-doc 2:1.2499-1.
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 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | =head1 NAME
Gtk2::TreeSelection - wrapper for GtkTreeSelection
=cut
=head1 HIERARCHY
Glib::Object
+----Gtk2::TreeSelection
=cut
=head1 METHODS
=head2 integer = $selection-E<gt>B<count_selected_rows>
=head2 boolean = $selection-E<gt>B<iter_is_selected> ($iter)
=over
=item * $iter (Gtk2::TreeIter)
=back
=head2 selectionmode = $selection-E<gt>B<get_mode>
=head2 $selection-E<gt>B<set_mode> ($type)
=over
=item * $type (Gtk2::SelectionMode)
=back
=head2 boolean = $selection-E<gt>B<path_is_selected> ($path)
=over
=item * $path (Gtk2::TreePath)
=back
=head2 $selection-E<gt>B<select_all>
=head2 $selection-E<gt>B<set_select_function> ($func, $data=undef)
=over
=item * $func (scalar)
=item * $data (scalar)
=back
=head2 $selection-E<gt>B<select_iter> ($iter)
=over
=item * $iter (Gtk2::TreeIter)
=back
=head2 $selection-E<gt>B<select_path> ($path)
=over
=item * $path (Gtk2::TreePath)
=back
=head2 $selection-E<gt>B<select_range> ($start_path, $end_path)
=over
=item * $start_path (Gtk2::TreePath)
=item * $end_path (Gtk2::TreePath)
=back
=head2 $selection-E<gt>B<selected_foreach> ($func, $data=undef)
=over
=item * $func (subroutine)
=item * $data (scalar)
=back
Call I<$func> on every selected row in I<$selection>'s view.
=head2 iter = $tree_selection->B<get_selected>
=head2 (model, iter) = $tree_selection->B<get_selected>
Since most of the time you are only interested in the iter, C<get_selected>
returns only the iter in scalar context.
=head2 @paths = $selection->B<get_selected_rows>
Returns the Gtk2::TreePath of each selected row, or an empty list if no
rows are selected. The model is I<not> returned, as documented in the C
API reference. To get the model, try
C<< $selection->get_tree_view->get_model >>.
=head2 treeview = $selection-E<gt>B<get_tree_view>
=head2 $selection-E<gt>B<unselect_all>
=head2 $selection-E<gt>B<unselect_iter> ($iter)
=over
=item * $iter (Gtk2::TreeIter)
=back
=head2 $selection-E<gt>B<unselect_path> ($path)
=over
=item * $path (Gtk2::TreePath)
=back
=head2 $selection-E<gt>B<unselect_range> ($start_path, $end_path)
=over
=item * $start_path (Gtk2::TreePath)
=item * $end_path (Gtk2::TreePath)
=back
Since: gtk+ 2.2
=head2 scalar = $selection-E<gt>B<get_user_data>
=cut
=head1 SIGNALS
=over
=item B<changed> (Gtk2::TreeSelection)
=back
=cut
=head1 ENUMS AND FLAGS
=head2 enum Gtk2::SelectionMode
=over
=item * 'none' / 'GTK_SELECTION_NONE'
=item * 'single' / 'GTK_SELECTION_SINGLE'
=item * 'browse' / 'GTK_SELECTION_BROWSE'
=item * 'multiple' / 'GTK_SELECTION_MULTIPLE'
=item * 'extended' / 'GTK_SELECTION_EXTENDED'
=back
=cut
=head1 SEE ALSO
L<Gtk2>, L<Glib::Object>
=cut
=head1 COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See L<Gtk2> for a full notice.
=cut
|