Re: dealing with object->array[values]
| From: | Andrei Zmievski | Date: | Fri, 05 Dec 2003 21:32:02 +0000 |
| Subject: | Re: dealing with object->array[values] | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-590@lists.php.net to get a copy of this message | ||
Hey,
Sorry, I haven't wrapped my brain around this yet. Just got back from a
long trip.. I was planning on starting the rewrite next week..
On Wed, 03 Dec 2003, Alan Knowles wrote:
> 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
- Andrei