note 139 added to gtk.gtkclist.method.append.php
| From: | tome_kaa at yahoo dot fr | Date: | Tue, 14 May 2002 14:03:13 +0000 |
| Subject: | note 139 added to gtk.gtkclist.method.append.php | ||
| Groups: | php.gtk.webmaster | ||
| Request: | Send a blank email to php-gtk-webmaster+get-455@lists.php.net to get a copy of this message | ||
The correct syntax :
void append(array);
the # of cells of the array must be the same than the # of columns of the CList
example:
$clist = &new GtkCList(3,array('a','b','c'));
$clist->append(array('value1','value2','value3'));
or
$a[0]='Value1';
$a[1]='Value2';
$a[2]='Value3';
$clist->append($a);
http://gtk.php.net/manual/en/gtk.gtkclist.method.append.php