Fw: Fw: [PHP-GTK] allocation and requisition question

From: Date: Sat, 14 Jul 2001 15:36:23 +0000
Subject: Fw: Fw: [PHP-GTK] allocation and requisition question
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2170@lists.php.net to get a copy of this message
yeah you're right, I'm not good in the mornings .. sorry folks. Sorry to be a pain here, but what's the difference between allocation width and the width you can access via the widget's gdkwindow struct? - if none, there's no point in doing anything other than setting up get_allocation as an array because we have access to the individual items anyway. Don't think the same applies to requisition though, does it? - I'm not adding any more to this thread, it's seriously somebody else's turn! - ----- Original Message ----- From: "Steph" <Steph.Fox@btinternet.com> To: "Andrei Zmievski" <andrei@ispi.net> Cc: <php-gtk@lists.php.net> Sent: Saturday, July 14, 2001 9:47 AM Subject: Re: Fw: [PHP-GTK] allocation and requisition question $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 -- 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

« previous php.gtk (#2170) next »