Mattia Barbon > Wx-Perl-TreeView-0.02 > Wx::Perl::TreeView::SimpleModel

Download:
Wx-Perl-TreeView-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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.

syntax highlighting: