giancarlo
20th December 2008, 12:55
I have to put an xterm into a QSplitter but when i call embedClient()... At the moment I can get the xterm outside the splitter.
QX11EmbedContainer* container = new QX11EmbedContainer();
QString ID = "0x3a0000e"; // I've taken this id from xwininfo -root -all | grep xterm
bool* x = new bool(true);
container->embedClient(ID.toInt(x,16));
With this code I get the outside xterm.
How can I use a QProcess and embed it in the container?
And specially, how can I know its winId from qt? (without using xwininfo)
QX11EmbedContainer* container = new QX11EmbedContainer();
QString ID = "0x3a0000e"; // I've taken this id from xwininfo -root -all | grep xterm
bool* x = new bool(true);
container->embedClient(ID.toInt(x,16));
With this code I get the outside xterm.
How can I use a QProcess and embed it in the container?
And specially, how can I know its winId from qt? (without using xwininfo)