Name of controls GtkEntry
| From: | (Luca) | Date: | Fri, 30 May 2003 12:32:52 +0000 |
| Subject: | Name of controls GtkEntry | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3494@lists.php.net to get a copy of this message | ||
In the Php-gtk like check the names of the controls in a while condition?
// Array values
$fields=array('id','name','status');
while(list($k,$v)=each($fields))
{
...
$arr_fields[$table][$v]=&new GtkEntry();
$vbox1->add($arr_fields[$table][$v]);
...
}
Is a valid method?
Thanks, Luca