I have been trying to work out the working of QX11EmbedContainer() for a long time now. I created a huge code. But now have defragmented to following snippet:<div><br></div><div><br></div><div><div>import sys</div><div>from PyQt4.QtCore import *</div>
<div>from PyQt4 import QtGui</div><div><br></div><div><br></div><div>if __name__=='__main__':</div><div> cont = QtGui.QX11EmbedContainer()</div><div><br></div><div><br></div><div>Whenever I try and run this snippet i get the following error:</div>
<div><br></div><div><div>Traceback (most recent call last):</div><div> File "/Users/AJ/Desktop/test/test.py", line 7, in <module></div><div> cont = QtGui.QX11EmbedContainer()</div><div>AttributeError: 'module' object has no attribute 'QX11EmbedContainer'</div>
<div><br></div><div><br></div><div>Please tell me how to use QX11EmbedContainer(). Do I need some special installations or am I using the class itself in a wrong manner?</div></div></div>