note 63 added to gtk.gtkbutton.constructor.php
| From: | steph dot fox at btinternet dot com | Date: | Tue, 23 Oct 2001 10:13:35 +0000 |
| Subject: | note 63 added to gtk.gtkbutton.constructor.php | ||
| Groups: | php.gtk.webmaster | ||
| Request: | Send a blank email to php-gtk-webmaster+get-115@lists.php.net to get a copy of this message | ||
Accessing the label in a button is the same as accessing any other child widget.
The syntax is (for example):
$child = $button->child;
$labeltext = $child->get();
http://gtk.php.net/manual/en/gtk.gtkbutton.constructor.php