Re: GtkClist / find_row_from_data

From: Date: Sun, 14 Apr 2002 02:26:59 +0000
Subject: Re: GtkClist / find_row_from_data
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1781@lists.php.net to get a copy of this message
On Sun, 2002-04-14 at 02:59, Markus Fischer wrote: > Don't waste your time on this method, it is not really > implemented. hmm, hoped that I will not hear this answer! Well, how can I "emulate" this method? I mean building an array with thousands of rows and looking for duplicate values before adding every row is kind of slow... Or should I search the clist "by hand"? regards > > On Sun, Apr 14, 2002 at 02:46:33AM +0200, Hakan Kuecuekyilmaz wrote : > > Hi, > > > > I am currently experimenting with Clist. While I am filling a Clist I > > want to look for duplicate entries like: > > > > while getting data > > .... > > $row = array("$filesize", "$file", "$user", > > "$hash", "$size", "$href"); > > $list->freeze(); > > $list->append($row); > > $list->thaw(); > > $find = $list->find_row_from_data("$hash"); > > echo "$find\n"; > > ..... > > > > The Clist gets filled, but in $find I find always -1 (nothing found). > > > > What I am doing wrong? > > > > regards > > -- > > Hakan Kuecuekyilmaz, University of Applied Sciences Esslingen, Germany > > <hakan@php.net> | <hakan@lisas.de> | <hakan.kuecuekyilmaz@c-cn.de> > > Studenten, Absolventen und Young Professionals > > <http://www.c-cn.de> > > > > > > -- > > PHP-GTK General Mailing List (http://gtk.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > Please always Cc to me when replying to me on the lists. > GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc > "Mind if I MFH ?" "What QA did you do on it?" "the usual?" > "ah... none :)" -- Hakan Kuecuekyilmaz, University of Applied Sciences Esslingen, Germany <hakan@php.net> | <hakan@lisas.de> | <hakan.kuecuekyilmaz@c-cn.de> Studenten, Absolventen und Young Professionals <http://www.c-cn.de>

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