Re: changing the label of a button
| From: | Paul Freeman | Date: | Wed, 15 May 2002 13:37:34 +0000 |
| Subject: | Re: changing the label of a button | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1972@lists.php.net to get a copy of this message | ||
You should be able to use the button as a container for a GtkLabel, and change the text with set_text() on the label?
Regards
Paul Freeman
http://www.php-programmer.net
At 03:14 PM 15/05/2002 +0200, you wrote:
Hy, is there a way to change the label of a button that is already being shown? i get an error that the method "set_text" doesn't exists for a button obeject, and in the docs there there's neither a property of the button mentioned that represents it's label nor any method to change it any guesses? henning -- Henning Sprang, henning@sprang.de, http://www.sprang.de/ -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php