PHP-GTK
Friday, November 21, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkTreeStore::move_before
GtkTreeStore::removenext

Last updated: Sun, 12 May 2013
view this page in English

GtkTreeStore::prepend

GtkTreeIter prepend([GtkTreeIter parent, array items]);

Creates a new line and inserts it at the beginning of the store. The first parameter parent can be null. If that's the case, the new entry will have no parent and thus be a "root" entry.

The second parameter items is an array with a value for each column. If your treestore has three columns, the array should have three values.

The method returns a GtkTreeIter which you can use to refer to the entry row; e.g. to use it as a parent for another row.

If you pass no parameters at all, an empty row with no values will be created, and you have to use other methods like set() to change the column values.

See also: append() insert() , insert_after() , insert_before() ,


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


previousGtkTreeStore::move_before
GtkTreeStore::removenext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:51:01 2013 CEST