gtk error ( IA__gtk_widget_realize: assertion)



Hi all,

I have some errors that depend on gtk. the errors are like this:
(python:9877): Gtk-CRITICAL **: IA__gtk_container_add: assertion 'GTK_IS_CONTAINER (container)' failed

(python:9877): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion 'GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed

I have two programs in python. first program1 start and when finished the other program start.
when program2 start it shows the error and cannot work well.

Both programs used gtk . the codes start with:
import sys
from PyQt4 import QtGui, QtCore

Thanks for your help.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]