PHP-GTK2 List Store ?

From: Date: Fri, 07 Oct 2005 08:45:23 +0000
Subject: PHP-GTK2 List Store ?
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1751@lists.php.net to get a copy of this message
The following code only updates the first two rows. It sets the first row to Column #1, Column #1 It sets the sec row to Column #3, Column #3 This tells me that the iterator or pointer is not pushed up one in ListStore when iter_next is called. Is this so and how would I update all of three rows without just using iter_next? Also get_iter is not working for me. Says it needs one arg and when given it throws a windows crash. $store->append(array('test1','test1')); $store->append(array('test2','test2')); $store->append(array('test3','test3')); $iter = $store->get_iter_first(); $store->set($iter, 0, 'Column #1', 1, 'Column #1'); $iter = $store->iter_next($iter); $iter = $store->get_iter_from_string($iter); $store->set($iter, 0, 'Column #2', 1, 'Column #2'); $iter = $store->iter_next($iter); $iter = $store->get_iter_from_string($iter); $store->set($iter, 0, 'Column #3', 1, 'Column #3'); Thanks for any help. Josh P.S. The docs are down!

« previous php.gtk.dev (#1751) next »