Hi
I managed to write a kind of ColorButtonCellRenderer trying to use
Styles. No fully satisfying but quite functionnable until I set my
TreeView row-reorderable. On dragging on_render get passed a pixmap
instead of a window and the style methode "vomit" a :

TypeError: GtkStyle.paint_box() argument 1 must be gtk.gdk.Window, not
gtk.gdk.Pixmap
Traceback (most recent call last):
  File "./mapcolorist.py", line 99, in on_render
    cell_area.width,  cell_area.height)

Apart from mimic-ing style code for a drawable what are the options to
face this trickage (illegal but legitimate in my mind) from drag-n-drop
code ?

Thanks in advance for any advice or explanation.

Laurent G.
_______________________________________________
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