The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

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.