problem with python/gtk

Guenther Starnberger gst at sysfrog.org
Sat Feb 17 15:20:11 EST 2001


hi,

i have a problem using gtk with python.

in a programm i open a gtkwindow foo with foo.show().

closing the window with foo.hide() and reopening it with foo.show()
works.

but when i close the window with the windowmanager i can't reopen
it. i only get an empty window and the following error message:

----->8------>8------>8---------->8------>8------>8------>8------
Gtk-CRITICAL **: file gtkstyle.c: line 522 (gtk_style_attach):
assertion `style != NULL' failed.

Gtk-CRITICAL **: file gtkstyle.c: line 1128
(gtk_style_set_background): assertion `style != NULL' failed.

Gtk-CRITICAL **: file gtkstyle.c: line 3532 (gtk_paint_flat_box):
assertion `style != NULL' failed.
----->8------>8------>8---------->8------>8------>8------>8------

i tried to make an handler for the signal "destroy" which calls
foo.hide(). the handler gets called, but the error is still the same.

any suggestions?

cu
/gst

-- 
sysfrog.org



More information about the Python-list mailing list