NAME

Gapp::Gtk2::List - A list with no set number of columns which can hold arbitrary values

SYNOPSIS

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 );

 

DESCRIPTION

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

OBJECT HEIRARCHY

Glib::Object
+--Gapp::Gtk2::List

Implemented Interfaces

Gtk2::TreeModel

PROVIDED METHODS

append ( $col = $value, [$col => $value, ...] )>

Adds an entry to the list and sets the values of the given columns.

append_record( $value, [$value, $value, ...] );

Adds an entry to the list and sets the values of given columns (using the position of the supplied values).

clear

Clears the list.

remove ( $iter )

Removes a row from the model.

set( $iter, $col = $value, [$col => $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 Jeffrey Ray Hallock.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.

3 POD Errors

The following errors were encountered while parsing the POD:

Around line 276:

Unknown directive: =over4

Around line 278:

'=item' outside of any '=over'

Around line 300:

Unterminated B<...> sequence