Re: Changing a buttons label
| From: | erbel@submedia.de | Date: | Thu, 14 Nov 2002 02:33:52 +0000 |
| Subject: | Re: Changing a buttons label | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2622@lists.php.net to get a copy of this message | ||
Excuse me please, and how can I read the labels text when I changed it. That doesnt work with $label->get_text(). I want to decide, when the labels text is save I want to add a record, when the text is change I want to change a record. Thank you,
Volker
Steph schrieb:
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 labelHi 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