
Gapp::Gtk2::Model::List - A list with no set number of columns and can hold arbitrary data

use Gtk2 '-init'; use Gapp::Gtk2; $list = Gapp::Gtk2::List->new; $iter = $list->append( 0 => $value1, 1 => $value2 ); $iter = $list->append_record( $value3, $value4 ); $list->set( $iter, 0, $new_value ); $o = Foo::Bar->new; $list->append( 0 => $o );

<Gapp::Gtk2::Model::List> is a Gtk2::TreeModel implmented in perl. It has an undefined number of columns which can hold any arbitrary data type.


Adds an entry to the list and sets the values of the given columns.
Adds an entry to the list and sets the values of given columns (using the position of the supplied values).
Clears the list.
Removes a row from the model.
Sets the value at the position referenced by the $iter.

Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>

Copyright (c) 2011-2012 Jeffrey Ray Hallock.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.