Hi all. I'm trying to implement colour-formatted CList-items, by creating a pixmap and placing the coloured text on it. This works fine, but if it is to be used proberbly in a CList, the background colour should change when selected, this I know would be relatively simple by just making two pixmaps, but I change the style of the rows dynamically and this would sum up in quite a lot of pixmaps (2 for each style).
So, my solution would have to be to make the pixmap transparent, but when I make a pixmap with depth 1 (which is supposed to be a GdkBitmap, used for masks), and use it in the GtkPixmap call like this: pixm=GtkPixmap(pixmap,mask) I get this error: Gdk-ERROR **: BadMatch (invalid parameter attributes) serial 251 error_code 8 request_code 70 minor_code 0 I even get it if I change the GtkPixmap mask call to None, and so, don't even use the mask. Can anyone tell me what's going on? Or maybe come up with another way to implement colour-formatting in CList (styling (weight,slant) is something I'm trying to do too, btw.) ANY help is much appreciated. Thanks Christian Storgaard / Cybolic - [EMAIL PROTECTED] _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk