[Gambas-user] Embed xfce4 panel into gambas application
M0E Lnx
m0e.lnx at ...626...
Fri Aug 22 16:59:33 CEST 2008
Desktop.Find("","*partedbi*","") worked
Thank you
On Fri, Aug 22, 2008 at 8:31 AM, Doriano Blengino
<doriano.blengino at ...1909...> 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 every time, so Obviously, I'm doing something wrong
>>
>>
> Sorry, it was my mistake.
>
> In the documentation I've read "regular expressions", but they are in
> fact patterns, not true regular expressions: they use the same syntax as
> the LIKE string operators (similar to shell patterns), and an empty
> string matches everything.
>
> So, try this:
>
> aHandle = Desktop.Find("","*partedbi*","")
>
> and, if this fails, and to see whether the .Find() works, you can try also:
>
> aHandle = Desktop.Find("","","")
>
> which should return every window in the desktop.
>
>
> -------------------------------------------------------------------------
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list