Re: GtkCombo
| From: | Ciprian Popovici | Date: | Mon, 07 Jun 2004 18:01:34 +0000 |
| Subject: | Re: GtkCombo | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4629@lists.php.net to get a copy of this message | ||
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