Bug in GtkCombo?

From: Date: Thu, 23 May 2002 17:13:31 +0000
Subject: Bug in GtkCombo?
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2037@lists.php.net to get a copy of this message
I'm having a little trouble here with a GtkCombo widget. According to the docs a Combo is just really a GtkEntry and a GtkList, and I can access the later via GtkCombo->list. However it's doesn't seem to behave the same way. Example: $list = &new GtkList(); for ($i = 0; $i<10; $i++) $listitems[] = &new GtkListItem($i); $list->append_items ($listitems); now that works fine, however this doesn't $combo = &new GtkCombo(); $list = $combo->list; for ($i = 0; $i<10; $i++) $listitems[] = &new GtkListItem($i); $list->append_items ($listitems); Only the first element will be in the list. Is this a bug or is this me? thanks, --rdp -- Rich Payne http://talisman.mv.com

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