Re: Changing a buttons label
| From: | Steph | Date: | Thu, 14 Nov 2002 01:56:28 +0000 |
| Subject: | Re: Changing a buttons label | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2621@lists.php.net to get a copy of this message | ||
try
$label = $button->child;
$label->set_text('whatever');
You're right, it's not clear in the docs. Thanks, noted.
----- Original Message -----
From: <erbel@submedia.de>
To: "phpgtkliste" <php-gtk-general@lists.php.net>
Sent: Wednesday, November 13, 2002 3:33 PM
Subject: [PHP-GTK] Changing a buttons label
> Hi all,
>
> I want to change a buttons label when there was a click on it, i.e. a
> save button should get a change button on a customer address form?
>
> $button->set_label("change") doesn't work. In Documentation I found
> nothing about that in the section GTKButtons.
>
> Can you help?
>
> Thanks Volker
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>