RE: [PHP-GTK] GtkCombo

From: Date: Mon, 07 Jun 2004 20:31:33 +0000
Subject: RE: [PHP-GTK] GtkCombo
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4630@lists.php.net to get a copy of this message
I thought 'Set_Popdown_Strings()' might be a problem too, but also thought the problem described was about selection after the list had been populated.. If the list isn't being populated, the method call should be set_popdown_strings(). If the list _is_ being populated, I remain clueless :I sorry. > -----Original Message----- > From: Ciprian Popovici [mailto:ciprian@zuavra.net] > Sent: 07 June 2004 19:02 > To: php-gtk-general@lists.php.net > Subject: Re: [PHP-GTK] GtkCombo > > > On Mon, 7 Jun 2004 14:55:56 +0100 "Rhys Campbell" > <rhys.campbell@da-systems.co.uk> wrote: > > Having a little problem with a combo box. I can't seem to get > the selected > > value. I've used this before but can't see why it's not working > now. I used > > I'm doing pretty much the same thing myself and I can't see why your code > isn't working. Perhaps it's not called "combo" in Glade, so get_widget > returns nothing? But I think you'd get some errors in that case. > > What's that Set_Popdown_Strings() member you're using for $combo? > Is it from > GTK or did you make it yourself? If you made it, perhaps the problem lies > there. > > Try to examine $combo's contents in the main body of the script, see if > actually contains what it's supposed to. You can also var_dump() $entry in > that function, see what's actually in there. > > -- > Ciprian Popovici > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

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