[pygtk] gtk.TreeView.set_grid_lines
Mario Beauchamp
starged at gmail.com
Mon Dec 3 12:16:31 WST 2007
Hi all,
Anyone ever tried this one? A search in the archives turned up nothing so...
Anyway, it doesn't work. I get those messages:
/home/geddy/bin/liststore.py:69: GtkWarning: gdk_gc_new: assertion
`drawable != NULL' failed
treeview.set_grid_lines(gtk.TREE_VIEW_GRID_LINES_BOTH)
/home/geddy/bin/liststore.py:69: GtkWarning: gdk_gc_copy: assertion
`GDK_IS_GC (dst_gc)' failed
treeview.set_grid_lines(gtk.TREE_VIEW_GRID_LINES_BOTH)
/home/geddy/bin/liststore.py:69: GtkWarning: gdk_gc_set_values:
assertion `GDK_IS_GC (gc)' failed
treeview.set_grid_lines(gtk.TREE_VIEW_GRID_LINES_BOTH)
/home/geddy/bin/liststore.py:69: GtkWarning: gdk_gc_set_dashes:
assertion `GDK_IS_GC (gc)' failed
treeview.set_grid_lines(gtk.TREE_VIEW_GRID_LINES_BOTH)
/home/geddy/bin/liststore.py:139: GtkWarning: gdk_draw_line: assertion
`gc != NULL' failed
gtk.main()
no matter where I put the treeview.set_grid_lines() line in the pygtk
example liststore.py.
Using the PyGTK packaged with OpenSuSE 10.2
Any thoughts?
cheers
--
Mario B.
More information about the pygtk
mailing list