Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-22 Thread M0E Lnx
Desktop.Find("","*partedbi*","") worked Thank you On Fri, Aug 22, 2008 at 8:31 AM, Doriano Blengino <[EMAIL PROTECTED]> wrote: > M0E Lnx ha scritto: >> I'm sorry but I can't get this to pick up anything >> >> I have this >> aHandle = Desktop.Find(".*","partedbi",".*") >> >> aHandle.count is 0 eve

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-22 Thread Doriano Blengino
M0E Lnx ha scritto: > I'm sorry but I can't get this to pick up anything > > I have this > aHandle = Desktop.Find(".*","partedbi",".*") > > aHandle.count is 0 every time, so Obviously, I'm doing something wrong > > Sorry, it was my mistake. In the documentation I've read "regular expressions",

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-22 Thread M0E Lnx
I'm sorry but I can't get this to pick up anything I have this aHandle = Desktop.Find(".*","partedbi",".*") aHandle.count is 0 every time, so Obviously, I'm doing something wrong I wonder if something else would work like a wild card in the title string something like aHandle = Desktop.Find("[*]

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-22 Thread Doriano Blengino
Benoit Minisini ha scritto: > On jeudi 21 août 2008, Doriano Blengino wrote: > >> M0E Lnx ha scritto: >> >>> Attn Beniot... Please help >>> >>> Can you explain how to use the WM_CLASS string to embed an application >>> using the embedder object? >>> >> I did not try this in gambas, b

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-21 Thread Benoit Minisini
On jeudi 21 août 2008, Doriano Blengino wrote: > M0E Lnx ha scritto: > > Attn Beniot... Please help > > > > Can you explain how to use the WM_CLASS string to embed an application > > using the embedder object? > > I did not try this in gambas, but I read the docs. The Desktop.find() > method takes

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-21 Thread Doriano Blengino
M0E Lnx ha scritto: > Attn Beniot... Please help > > Can you explain how to use the WM_CLASS string to embed an application > using the embedder object? > I did not try this in gambas, but I read the docs. The Desktop.find() method takes "regular expression" parameters, so if you search for a

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-20 Thread M0E Lnx
Attn Beniot... Please help Can you explain how to use the WM_CLASS string to embed an application using the embedder object? On Wed, Aug 20, 2008 at 2:24 PM, Joshua Higgins <[EMAIL PROTECTED]> wrote: > Aaah... I see now why you need something other than the title. I tried your > syntax and it di

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-20 Thread Joshua Higgins
Aaah... I see now why you need something other than the title. I tried your syntax and it didn't work, but I can't figure out the correct syntax from the help files. Anyone familiar with embedders? On Tue, Aug 19, 2008 at 10:52 PM, M0E Lnx <[EMAIL PROTECTED]> wrote: > My problem is that I'm embed

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-19 Thread M0E Lnx
My problem is that I'm embedding GParted into a gambas application. And the title property of the window changes depending on the type of hard drives present on the box... it could either be "/dev/sda - GParted" or "/dev/hda - GParted" I used xprop as suggested, and came up with the WM_CLASS strin

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-19 Thread Joshua Higgins
I'm not familiar with the way window managers and X work, but as Beniot said the only way I know how to find out the WM_CLASS of a window is using xprop. I have found out though whilst trying to get the Xfce Panel embedded is that the WM_CLASS is no more unique than the name. The two Xfce panels

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-19 Thread M0E Lnx
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,

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-18 Thread Joshua Higgins
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

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-18 Thread Benoit Minisini
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, b

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-18 Thread joshiggins
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? M0E Lnx wrote: > > I'm not sure the xfce4 panel returns a title to the desktop... it is > not decorated... > > but you can t

Re: [Gambas-user] Embed xfce4 panel into gambas application

2008-08-18 Thread M0E Lnx
I'm not sure the xfce4 panel returns a title to the desktop... it is not decorated... but you can try looking for xfce4-panel (i haven't used xfce4 in a while, so this may not be accurate) On Sat, Aug 16, 2008 at 7:25 AM, joshiggins <[EMAIL PROTECTED]> wrote: > > hi all > > I'm trying to embed an

[Gambas-user] Embed xfce4 panel into gambas application

2008-08-16 Thread joshiggins
hi all I'm trying to embed an xfce4 panel into my gambas application but cannot figure out how to do it. I looked at the application embedder example but I do not know what the title of the xfce4 panel window is. any ideas? thanks. -- View this message in context: http://www.nabble.com/Embed-