On lundi 22 septembre 2008, Javier wrote: > 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.
See the Desktop.Find method in the gb.desktop component. Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
