Ok... so this may be a more accurate method than the window title is in some cases...
How does one go about finding and embedding an application using the WM_CLASS property instead of the title? Can someone give me a sample line? Desktop.Find("","APPCLASS") ' Will this work??? On Mon, Aug 18, 2008 at 1:57 PM, Joshua Higgins <[EMAIL PROTECTED]> wrote: > You'll never guess what the title was. Xfce Panel. :) Thanks again Benoit. > > On Mon, Aug 18, 2008 at 7:50 PM, Benoit Minisini < > [EMAIL PROTECTED]> wrote: > >> On lundi 18 août 2008, joshiggins wrote: >> > Yeah you are right, it is not decorated and does not have a title so i >> > can't embed it :-(( Is the only way to embed a program by its title shown >> > by the window decorator? >> > >> >> A X11 window can be found from its name (the title), its class and its >> role, >> by using the Desktop.Find() method. >> >> Use the 'xprop' program to find all properties associated with a window, >> and >> look at the WM_NAME, WM_CLASS and WM_WINDOW_ROLE properties >> >> 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 >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > joshua higgins >>>>>>>------ > ------------------------------------------------------------------------- > 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 > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------- 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 Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user