[pygtk] segmentation fault with gtk.Notebook

Gian Mario Tagliaretti gianmt at gnome.org
Mon Feb 9 23:03:09 WST 2009


On Mon, Feb 9, 2009 at 1:18 PM, Gaetano Guerriero
<gaetano.guerriero a spacespa.it> wrote:

Hi Gaetano,

> 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()

Your snippet works for me.

cheers
-- 
Gian Mario Tagliaretti
GNOME Foundation member
gianmt a gnome.org


More information about the pygtk mailing list