note 159 added to gtk.gtkclist.php
| From: | php-gtk at lists dot php dot net | Date: | Fri, 05 Jul 2002 02:46:25 +0000 |
| Subject: | note 159 added to gtk.gtkclist.php | ||
| Groups: | php.gtk.webmaster | ||
| Request: | Send a blank email to php-gtk-webmaster+get-509@lists.php.net to get a copy of this message | ||
Want to figure out what rows are selected in a Clist?
Clists have a property called "selection" which is an array containing the selected
row(s).
So ... $clist->selection[0] is the first selected row, $clist->selection[1] is the next (if
the user is multi-selecting), and so on. $clist->selection is an empty array if there are no
rows selected.
http://gtk.php.net/manual/en/gtk.gtkclist.php