Hi.

I would use construct like this one:

--- CODE ---
my $iter = $list_store->get_iter_first;
if( $iter )
    # Get contents of first line
    my @line = $list_store->get( $iter );
else
    # Add new line

--- CODE ---

This might not be the best way, but it should work.

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
tadej.borov...@gmail.com
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to