Is a checkbutton different from a normal button?
| From: | Michael Dransfield | Date: | Wed, 22 May 2002 16:47:08 +0000 |
| Subject: | Is a checkbutton different from a normal button? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2032@lists.php.net to get a copy of this message | ||
The GtkButton widget is a container widget that can hold any valid child
widget derived from GtkWidget. The most commonly used child widget is a
GtkLabel. This is therefore built into the constructor as an optional
parameter.
The GtkCheckButton widget is basically a different style of GtkToggleButton.
A GtkToggleButton is a button [a GtkButton?] that will retain its state
following activation.
If these statements are true, why does this not work?
$label =& new GtkLabel("Disabled");
$check =& new GtkCheckButton();
$check->add($label);
is there a label property or something??
Sorry if this is in the archives or something - im working offline on a
windows laptop.... :( my online time is limited to a few minutes a day to
send email...
going OT....
I am using the offline version of the docs, they are very basic and dont
include the user comments... is there a reason why the offline version of
the docs isnt just a copy of the existing site (like a local mirror?). Im
going to mirror the site as soon as i have the time (and the tools). Shall
I submit it to you when im done?