
Gapp::Gtk2::SimpleList - A sngle column list that can hold arbitrary values

use Gtk2 '-init'; use Gapp::Gtk2; $list = Gapp::Gtk2::List::Simple->new; $iter = $list->append( $value ); $list->set( $iter, $new_value );

<Gapp::Gtk2::SimpleList> is a very simpleGtk2::TreeModel that is implmented in perl. It has only one column with no restrictions on the data type it can hold. Nodes can not have children.


Adds the value to the list, returns an $iter to reference the position.
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.