Re: GtkCList recreation only once.

From: Date: Thu, 03 Oct 2002 15:26:23 +0000
Subject: Re: GtkCList recreation only once.
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2506@lists.php.net to get a copy of this message
> > Don't remove the list. Use clear() instead. > > the problem is, i have a different count of columns after every query :) in that case you'll need to remove 'the child' from the scrolledwindow rather than give it a name. & replace it within the same function. e.g. function whereithappens($scrollwin, $clist) { $scrollwin->remove($scrollwin->child); $clist = &new GtkCList(83, array(etc)); $scrollwin->add($clist); $scrollwin->show(); } (it works with listitems here, anyway ;) ----- Original Message ----- From: "Robert Sedlacek" <phaylon@gmx.at> To: "Steph" <sfox@php.net> Sent: Thursday, October 03, 2002 1:42 PM Subject: Re: [PHP-GTK] GtkCList recreation only once. > Am Don, 2002-10-03 um 16.23 schrieb Steph: > > Don't remove the list. Use clear() instead. > > the problem is, i have a different count of columns after every query :) > > Robert > > -- > Das Gefängnis ist in deinem Kopf, > könnt ihr nicht sehen, dass ich frei bin? > > - Charles Manson > >

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