[...]
> description.py file?
I just got a copy (thanks, Alexandre). Unfortunately, my code still doesn't
work.
This is what I've got (somewhat edited as the code is distributed amoung
various routines):
style = self.widget.folderlist.get_style().copy()
style.font = gtk.load_font(font)
colormap = self.widget.folderlist.get_colormap()
fg = colormap.alloc(fg[0], fg[1], fg[2])
bg = colormap.alloc(bg[0], bg[1], bg[2])
style.fg[gtk.STATE_NORMAL] = fg
style.bg[gtk.STATE_NORMAL] = bg
self.widget.folderlist.node_set_row_style(node, style)
fg and bg are (red, green, blue) triplets, 0..65535. font is the name of the
font. node you can probably guess. I'm still getting the font but not the
I *will* get this working, if it's the last thing I do (and by the looks of it,
it probably will be).
--
+- David Given ---------------McQ-+ "If you're up against someone more
| Work: [EMAIL PROTECTED] | intelligent than you are, do something
| Play: [EMAIL PROTECTED] | insane and let him think himself to death."
+- http://wired.st-and.ac.uk/~dg -+ --- Pyanfar Chanur
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk