ok im not sure what all those names mean. i havent played with it much

I have modified the tutorial to just white its just black text on white at the moment. im using the treview to position text nicely
i actually have
# set background color property
self.cellpb.set_property('cell-background', 'yellow')
self.cell.set_property('cell-background', 'cyan')
self.cell1.set_property('cell-background', 'pink')
all set to "white".
i want the whole background to be an image, with the cell text sitting on top
2 Q
1) how do is say
self.cell.set_property('cell-background', 'animage.png')
2) how do i have an image across the whole thing. ie no cell colours. i guess it would be like a background span cells with image


John Finlay wrote:

vector wrote:

I apologise if this has been mentioned b4.
IM playing with the pygtk treeview tutorial
http://www.moeraki.com/pygtktutorial/pygtk2tutorial/examples/treeviewcolumn.py


Is there a way of setting the background to an image rather than a colour?


What background exactly do you want to set to an image? The whole treeview, a treeviewcolumn, or a cellrenderer?

John


_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to