dealing with object->array[values]
| From: | Alan Knowles | Date: | Wed, 03 Dec 2003 14:44:06 +0000 |
| Subject: | dealing with object->array[values] | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-589@lists.php.net to get a copy of this message | ||
Andrei,
Just spent some time looking at the way the engine could handle our $gtkstyle->fg[XXX] = ... code.
It appears that it expects you to generate a object for fg, then add a dimension_read/write handler for it.
Now comes the thought..
what should this magic object be:
a extension/copy of gtkstyle, with some magic flag set for the 'fg' bit somewhere?
or should it just store the fg bit of the gtkstyle struct (which will get very messy with referecing/allocation...)
I started (read not alot) hacking it up as GtkStyleArray (without a constructor.. etc. )
Thoughts..
Regards
Alan