Re: Change button-text?

From: Date: Tue, 31 Jul 2001 13:29:09 +0000
Subject: Re: Change button-text?
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2422@lists.php.net to get a copy of this message
On Tue, 31 Jul 2001, Jonas Delfs wrote: > Hi > > How do I do <subj.>? > I have $button = &new GtkButton('Start'); and a few lines that gives it an > action when clicked and so on. > But when clicked, the function doFuskStart() is called. This function set a > few other things in action and at last it should change the text on the > $button. > Now I can't explain it in more details. :) $label = $button->child; $label->set_text('New Text'); -Andrei * Use the source, Luke. *

« previous php.gtk (#2422) next »