Re: [PHP-GTK] Change button-text?
[email protected] (Andrei Zmievski)
| Newsgroups | php.gtk |
|---|---|
| Message-ID | <[email protected]> |
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. *