[Gambas-user] Embedded X applications
Javier
javuchi at ...626...
Mon Sep 22 19:55:17 CEST 2008
First I'd like to thank all the Gambas developers. You are making and
incredible platform for fast applications development!
I've been using Gambas for a while, and have a project in mind. I want to
create a Jack audio controler, and I need to emmbed or at least, launch and
control other X applications.
My question is:
There is a class named Embedder for this to work, and the documentation says
the following:
Embedder.Embed (gb.qt)
*Syntax*
SUB *Embed* ( *Client* AS Pointer *[* , *Prepared* AS Boolean *]* )
Embeds another X11 application.
- *Client* is the identifier of the X11 window to embed.
- *Prepared* tells if the client follows the XEmbed protocol. It should
be TRUE <file:///usr/share/gambas2/help/help/lang/true.html>.
The problem is: how do I obtain the Client variable?
For example, imagine that I want to execute and emmbed an application named
qjackctl (it is a qt application), how do I obtain its client
identification?
Thank you.
More information about the User
mailing list