NAME

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

SYNOPSIS

use Gtk2 '-init';

use Gapp::Gtk2;

$list = Gapp::Gtk2::List::Simple->new;

$iter = $list->append( $value );

$list->set( $iter, $new_value );

 

DESCRIPTION

<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.

OBJECT HEIRARCHY

Glib::Object
+-- Gapp::Gtk2::Model::SimpleList

Implemented Interfaces

Gtk2::TreeModel

PROVIDED METHODS

append ( $value )

Adds the value to the list, returns an $iter to reference the position.

clear

Clears the list.

remove ( $iter )

Removes a row from the model.

set( $iter, $value )

Sets the value at the position referenced by the $iter.

AUTHOR

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

COPYRIGHT

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.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 255:

Unknown directive: =over4

Around line 257:

'=item' outside of any '=over'