NAME
Wx::Perl::TreeView::SimpleModel - virtual tree control simple model class
DESCRIPTION
A simple model class for Wx::Perl::TreeView
.
METHODS
new
my $model = Wx::Perl::TreeView::SimpleModel->new( $data );
Where $data
has the following structure:
{ node => 'label',
childs => [ { ... },
{ ... },
],
}
data
my $data = $self->data;
Accessor for the model data.