Gtk2::TreeModelFilter3pm
Wrapper for gtktreemodelfilter
Hierarchy
Glib::Object+----Gtk2::TreeModelFilter
Interfaces
Gtk2::TreeModelGtk2::TreeDragSource
Methods
treemodelfilter = Gtk2::TreeModelFilter->new ($child_model, $root=undef)
•
|
|
|---|---|
•
|
|
$filter->clear_cache
treeiter = $filter->convert_child_iter_to_iter ($child_iter)
- •
-
$child_iter(Gtk2::TreeIter)
treepath or undef = $filter->convert_child_path_to_path ($child_path)
- •
-
$child_path(Gtk2::TreePath)
treeiter = $filter->convert_iter_to_child_iter ($filter_iter)
- •
-
$filter_iter(Gtk2::TreeIter)
treepath or undef = $path->convert_path_to_child_path ($filter_path)
- •
-
$filter_path(Gtk2::TreePath)
treemodel = $filter->get_model
$filter->set_modify_func ($types, $func=undef, $data=undef)
- •
-
$types(scalar) type name string for one column, or an arrayref of type names for multiple columns
- •
-
$func(scalar)
- •
-
$data(scalar)
func is called as
sub myfunc {my ($filter, $iter, $column_num, $data) = @_;...
and should return the value from the filtered model that iter row and column number.
$filter->refilter
$filter->set_visible_column ($column)
- •
-
$column(integer)
$filter->set_visible_func ($func, $data=undef)
•
|
|
|---|---|
•
|
|
Properties
'child-model' (Gtk2::TreeModel : default undef : readable / writable / construct-only / private)
|
The model for the filtermodel to filter |
|---|---|
'virtual-root' (Gtk2::TreePath : default undef : readable / writable / construct-only / private)
|
The virtual root (relative to the child model) for this filtermodel |
Releases
7 releases since Debian 3.1 (Sarge); the text changed 6 times.