Re: clist

From: Date: Mon, 10 Jun 2002 17:02:01 +0000
Subject: Re: clist
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2112@lists.php.net to get a copy of this message
No "selection" in php-gtk :( On Mon, 2002-06-10 at 14:52, Rich Payne wrote: > On 10 Jun 2002, dragon wrote: > > > Hi > > > > How can I delete a selected row form a clist? > > How can I get the row > > number and how can I delete this row? > > You delete it with a call the $clist->remove($row_number). As for getting > the row number, use $clist->selection[0]. That's assuming you're only > allowing one row to be selected at a time (simple selection I think). > > --rdp > > -- > Rich Payne > http://talisman.mv.com > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.gtk.general (#2112) next »