[Gambas-user] Embed xfce4 panel into gambas application

Benoit Minisini gambas at ...1...
Thu Aug 21 22:12:14 CEST 2008


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 "regular expression" parameters, so if you search for a
> window class, and you do not know the other strings, you should specify
> them using a pattern:
>
>   hPointer = Desktop.Find(".*", "Gpartedbin", ".*")
>
> I am not sure if empty strings ("") work, so you should try with ".*"
> which matches any string.
>

Empty strings mean everything. And the regular expressions are Gambas regular 
expressions, as the LIKE operator uses.

Regards,

-- 
Benoit Minisini




More information about the User mailing list