Thanks David!! that worked.<br><br>Now i am having an annoying problem about stackedWidget. It seems that every time i click on a listwidget i am adding always the corresponding stackedWidget to that related item, so, in the case of the xterm console, every time i press in any non related listWIdget item, the xterm console appers and dissapear outside my app for just half second or less. And like i said, it happen every time the selecction of the listWidget changes.
<br><br>I know that i am doing something wrong about stackedWidget but i will need a tip here.<br><br>And sorry again to disturb you :$<br><br>Thanks!!!<br><br><div><span class="gmail_quote">2007/7/27, David Boddie <<a href="mailto:david@boddie.org.uk">
david@boddie.org.uk</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wed, 25 Jul 2007 19:44:11 -0300, Gustavo A. Díaz wrote:
<br><br>> I am having troubles to make QX11EmbedContainer to work.<br>><br>> I am trying to ebbed a Xterm console inside a frame.<br>> I've tested this method with QX11EmbedContainer in a example with Mplayer
<br>> movie, and that worked.<br>> I am following that example but with the xterm is not working, only<br>> sometimes shows this while executing the MainApp:<br>><br>> "QProcess: Destroyed while process is still running"
<br>><br>> Nothing more.<br><br>Looking at your code, it seems that you are passing the wrong option<br>to xterm:<br><br>self.parameters_list = ['-wid', str(wid), '-bg', 'black', '-fg', 'white',
<br> '-geometry', '90x25']<br><br>You should be passing '-into' rather than '-wid'. It might also be a good<br>idea to pass the QX11EmbedContainer's window ID using
QString.number(wid)<br>instead of just str(wid). Python may interpret the ID as a long integer<br>value, so its representation will include a trailing "L" - it's not<br>something you really want to pass to xterm.
<br><br>David<br><br>_______________________________________________<br>PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">
http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br><br clear="all"><br>-- <br>Gustavo A. Díaz<br>GDNet Projects<br><a href="http://www.gdnet.com.ar">www.gdnet.com.ar</a>