Hi all.

Anybody know why _zvt.zvt_term_set_color_scheme barfs this?:

    _zvt.zvt_term_set_color_scheme(self._o, color_list)
TypeError: list items must be like (int,int,int)

when the color_list looks like this?:
                col = [(0x0000,0x4000,0x0000),
                       (0xffff,0x0000,0x0000),
                       (0x0000,0xffff,0x0000),
                       (0xffff,0xffff,0x0000),
                       (0x0000,0x0000,0xffff),
                       (0xffff,0x0000,0xffff),
                       (0x0000,0xffff,0xffff),
                       (0xffff,0xffff,0xffff),
                       (0x4000,0x4000,0x4000),
                       (0xffff,0x0000,0x0000),
                       (0x0000,0xffff,0x0000),
                       (0xffff,0xffff,0x0000),
                       (0x0000,0x0000,0xffff),
                       (0xffff,0x0000,0xffff),
                       (0x0000,0xffff,0xffff),
                       (0xffff,0xffff,0xffff),

                       (0x0000,0xffff,0x0000),
                       (0x4000,0x4000,0x4000)]

I've tried a lot of other variants, but this one seems (in all other
cases) to be what it wants.

Anders
-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to