1Gtk2::TreeModelSort(3)User Contributed Perl DocumentationGtk2::TreeModelSort(3)
2
3
4
6 Gtk2::TreeModelSort - wrapper for GtkTreeModelSort
7
9 Glib::Object
10 +----Gtk2::TreeModelSort
11
13 Gtk2::TreeModel
14 Gtk2::TreeSortable
15 Gtk2::TreeDragSource
16
18 treemodel = Gtk2::TreeModelSort->new ($child_model)
19 treemodel = Gtk2::TreeModelSort->new (model => $child_model)
20 · $child_model (Gtk2::TreeModel) The tree model to proxy.
21
22 Aliases for "new_with_model". Before Gtk2 1.120, "new" resolved to
23 "Glib::Object::new", which would allow creation of an invalid object if
24 the required property "model" was not supplied.
25
26 treemodelsort = Gtk2::TreeModelSort->new_with_model ($child_model)
27 · $child_model (Gtk2::TreeModel)
28
29 $tree_model_sort->clear_cache
30 treeiter = $tree_model_sort->convert_child_iter_to_iter ($child_iter)
31 · $child_iter (Gtk2::TreeIter)
32
33 treepath or undef = $tree_model_sort->convert_child_path_to_path
34 ($child_path)
35 · $child_path (Gtk2::TreePath)
36
37 treeiter = $tree_model_sort->convert_iter_to_child_iter ($sorted_iter)
38 · $sorted_iter (Gtk2::TreeIter)
39
40 treepath or undef = $tree_model_sort->convert_path_to_child_path
41 ($sorted_path)
42 · $sorted_path (Gtk2::TreePath)
43
44 boolean = $tree_model_sort->iter_is_valid ($iter)
45 · $iter (Gtk2::TreeIter)
46
47 Since: gtk+ 2.2
48
49 treemodel = $tree_model->get_model
50 $tree_model_sort->reset_default_sort_func
52 'model' (Gtk2::TreeModel : default undef : readable / writable /
53 construct-only / private / static-nick / static-blurb)
54 The model for the TreeModelSort to sort
55
57 Gtk2, Glib::Object
58
60 Copyright (C) 2003-2011 by the gtk2-perl team.
61
62 This software is licensed under the LGPL. See Gtk2 for a full notice.
63
64
65
66perl v5.32.0 2020-07-28 Gtk2::TreeModelSort(3)