Mattia Barbon > Wx-Perl-ListView > Wx::Perl::ListView::SimpleModel

Download:
Wx-Perl-ListView-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Wx::Perl::ListView::SimpleModel - virtual list control simple model class

DESCRIPTION ^

A simple model class for Wx::Perl::ListView.

METHODS ^

new

  my $model = Wx::Perl::ListView::SimpleModel->new( $data );

Where data has the form:

  [ [ $item, $item, $item, ... ],
    [ $item, $item, $item, ... ],
    [ $item, $item, $item, ... ],
    ]

and each item is a valid return value for get_item.

data

  my $data = $self->data;

Accessor for the model data.

syntax highlighting: