Populating a clist

From: Date: Mon, 12 Mar 2001 11:22:00 +0000
Subject: Populating a clist
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-693@lists.php.net to get a copy of this message
Hi, $clist1 = &new gtkclist(3); $clist1->set_auto_sort(true); if ($dir = @opendir("c:\mp3")) { while($file = readdir($dir)) { $clist1->insert_row; $clist1->set_text($pos,0,$file); } closedir($dir); } I am *very* new to php-gtk...only started last night. If someone could point out my obvious mistake it would be much appreciated... -Paul Skinner ----------------------------------------- Owner, Computer 2000cc "And theres those that go.. and theres those that stay.. and you walk out on the edge of the world and you balance yourself there for a while and you figure out which one your gonna be... and alot of our friends are doing other things right now.. and were standing up on this stage.. "

« previous php.gtk (#693) next »