[pygtk] segmentation fault with gtk.Notebook

Gaetano Guerriero gaetano.guerriero at spacespa.it
Mon Feb 9 21:17:31 WST 2009


Documentation says that since PyGTK 2.4 I can add a page to a gtk.Notebook 
with an empty label. Anyway this crash with segmentation fault. Am i missing 
something ?

$ echo '
import gtk

window = gtk.Window()
box = gtk.HBox()
notebook = gtk.Notebook()
notebook.append_page(gtk.Label("!!!!!"))
box.add(notebook)
window.add(box)
window.show_all()
gtk.main()' | python
Segmentation fault


I'm using debian packages, so PyGTK 2.12.1 and python 2.5.2.

gaetano


More information about the pygtk mailing list