Re: Fw: [PHP-GTK] allocation and requisition question
| From: | Steph | Date: | Sat, 14 Jul 2001 08:47:39 +0000 |
| Subject: | Re: Fw: [PHP-GTK] allocation and requisition question | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2169@lists.php.net to get a copy of this message | ||
$widget->allocation->x;
?
- if we can do that kind of overloading I'm voting for a class.
----- Original Message -----
From: "Andrei Zmievski" <andrei@ispi.net>
To: "Steph" <steph.fox@btinternet.com>
Cc: <php-gtk@lists.php.net>
Sent: Saturday, July 14, 2001 2:40 AM
Subject: Re: Fw: [PHP-GTK] allocation and requisition question
At 01:21 AM 7/14/01 +0100, Steph wrote:
>Now I've looked at that more than 5 minutes ... what are you actually
>saying here? Are you telling us you could make GtkAllocation the class as
>an accessible struct element of a widget & the struct elements of
>GtkAllocation would also be accessible? as in for example the model we
>have in the existing GtkStyle?
Yes.
$widget->allocation->x
or
$allocation = $widget->allocation
$allocation->x
>I know what Eric's saying about programmatic control... & if that's the
>way it goes, he's probably right & arrays are simpler (if less obvious).
Okay, I just wanted to gauge the opinion.
-Andrei
--
PHP GTK Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net