Re: GtkCombo selected value
| From: | Madeleine D. | Date: | Thu, 11 Dec 2003 22:39:27 +0000 |
| Subject: | Re: GtkCombo selected value | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4289@lists.php.net to get a copy of this message | ||
Jackson -
Set the entry property for the Combo, and then read that for content.
As in:
$combo - &new GtkCombo();
$comboEntry = $combo->entry;
$readSelection = $comboEntry->get_text();
Hope that helps.
Madeleine D.
At 04:08 PM 12/11/03 -0600, Jackson Miller wrote:
>I appologize if this is a simple question. I having a hard time finding the
>right search string to look this one up.
>
>I am trying to get the selected value of a GtkCombo object. I have tried
all
>the relevant methods that I can see by running get_class_methods($myCombo),
>but none seem to give me what I am looking for.
>
>I have been meaning to get my hands dirty in php-gtk for a long time, but I
>have just started my first project (a tool to post to my blog). I am using
>the GtkCombo to provide a way to selectthe category of the post.
>
>Thanks,
>Jackson
>
>--
>PHP-GTK General Mailing List (http://gtk.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>