Re: GTKCombo coughs on large data sets
| From: | Madeleine D. | Date: | Wed, 15 Feb 2006 03:50:49 +0000 |
| Subject: | Re: GTKCombo coughs on large data sets | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6737@lists.php.net to get a copy of this message | ||
Ben -
We hit this about a year ago. Because of time constraints and other issues, we chose to walk away from using most combos, instead of trying to solve it.
But, I've always wondered - does it make any difference if you set the combo with GtkListItem instead of the simpler set_popdown_strings?
Madeleine D.
Benjamin Smith wrote:
Is PHP-GTK 1.x supported anymore? I've got a pretty stable codebase I'm nursing along for a while longer... Anyhow, when I create a large dataset for GtkCombo, it dies and won't display the list in the dropdown. The items are "there", in that you can use the arrow keys and scroll thru them, but they don't popdown anymore. Here's some sample code that recreates it, Windows 2000 + php 4.4.x. $popdown=array(); for ($i=0; $i<3000; $i++)$popdown[]="Item Number $i";$combo=&New GtkCombo(); $combo->Set_Popdown_Strings($popdown); $win=&New GtkWindow(); $win->Add($combo); $win->Show_All(); What can I do about this? -Ben