On Mon, Feb 15, 1999 at 12:01:08PM +0800, James Henstridge wrote:
> First of all, you have to realise that while GTK+ is quite friendly to
> language bindings (the number that have sprung up is proof of this), its
> object model is not. [...]
Thanks for the explanation.
> style.bg[STATE_NORMAL] = cmap.alloc(0xffff, 0, 0)
> will give you an error because you can't assign to tuples.
> My question is what would be the best way round this? One idea is number
> of functions like:
> style.set_bg(STATE_NORMAL, cmap.alloc(0xffff, 0, 0)
> There may be better solutions I haven't thought of yet though.
Accessor functions would seem to be the way to go.
Dave
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]