Wx::Perl::TreeView - virtual tree control interface
Wx::Perl::TreeView provides a "virtual" tree control,
similar to a virtual
All the data access methods are contained inside
Wx::Perl::TreeView forwards all unknown method calls to the contained
my $treeview = Wx::Perl::TreeView->new( $tree_control, $model );
Constructs a new
Wx::Perl::TreeView instance using the previously constructed tree control and model.
Deletes all tree items and readds root node(s) from the model.
my $refreshed = $treeview->refresh; my $refreshed = $treeview->refresh( [ $treeitemid1, $treeitemid2, ... ] );
Walks the tree and refreshes data from the expanded tree branches. Returns
true on success.
If one of the expanded nodes has a different child count in the model and in the tree, calls
reload and returns
If a list of
Wx::TreeItemId is passed as argument, te child count of these nodes is not checked against the model, and after refreshing these nodes are expanded.
my $cookie = $treeview->get_cookie( $treeitemid );
Returns the cookie associated with the given
my $treectrl = $treeview->treectrl;
my $model = $treeview->model;
Mattia Barbon <firstname.lastname@example.org>
Copyright (c) 2007 Mattia Barbon <email@example.com>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself