Re: Is a checkbutton different from a normal button?

From: Date: Wed, 22 May 2002 17:23:52 +0000
Subject: Re: Is a checkbutton different from a normal button?
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2033@lists.php.net to get a copy of this message
1. Looks to me like a buglet.in the overrides for GtkCheckButton. Everything else is defined as char *text; & works just fine :-\ 2. Sounds good to me, but you need to communicate with Andrei really about this. ----- Original Message ----- From: "Michael Dransfield" <mike@blueroot.net> To: <php-gtk-general@lists.php.net> Sent: Wednesday, May 22, 2002 5:47 PM Subject: [PHP-GTK] Is a checkbutton different from a normal button? > > > 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? > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.gtk.general (#2033) next »