Re: GtkButton label?
| From: | Rich Payne | Date: | Wed, 28 Aug 2002 13:29:41 +0000 |
| Subject: | Re: GtkButton label? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2371@lists.php.net to get a copy of this message | ||
Have a look at $button->child. That should return a widget of type
GtkLabel, and you can get the text from that.
--rdp
On Wed, 28 Aug 2002, Richard Black wrote:
> Is there any way that I can get the label of a button?
>
> What I was looking for was something like
>
> $button->label
>
> But that just returns an empty string
>
> ==========================================
> Richard Black
> Systems Programmer, DataVisibility Ltd -
> http://www.datavisibility.com
> Tel: 0141 435 3504
> Email: rblack@datavisibility.co.uk
>
>
>
--
Rich Payne
http://talisman.mv.com