PHP-GTK
Saturday, July 04, 2009 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkListStore Constructor
GtkListStore::clearnext

Last updated: Sat, 04 Jul 2009
view this page in English | Bulgarian | Japanese | Brazilian | Simplified Chinese

GtkListStore::append

GtkTreeIter append (array items);

You can use this method if you want to append a complete row of data at the end of the list store. The items has to be of the same size as the number of columns in the store, and the type of each array entry has to be that of relative model column.

The function returns the iterator of the inserted row, which you can use to refer to it after insertion.

Example 92. Append some rows to a list store

<?php
//Create new store with two columns
$store = new GtkListStore(Gtk::TYPE_STRING, Gtk::TYPE_LONG);
 
//append one row
$store->append(array('Tokio', 34100000));
//append another row
$store->append(array('Mexico city', 22650000));
?>

See also: prepend() , insert()


User Contributed Notes
gtk.gtkliststore.method.append.php
add a note about notes
There are no user contributed notes for this page.


previousGtkListStore Constructor
GtkListStore::clearnext

Last updated: Sat, 04 Jul 2009
view this page in English | Bulgarian | Japanese | Brazilian | Simplified Chinese


credits 

PHP  Copyright © 2001-2009 The PHP Group
 All rights reserved.
Last updated: Sat Jul 4 01:52:29 2009 UTC