The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.