[Gambas-user] New to Gambas - coding question how to find the active window on an Ubuntu 7.10 desktop
Benoit Minisini
gambas at ...1...
Sun Jan 20 20:57:22 CET 2008
On dimanche 20 janvier 2008, Khos wrote:
> Thanks Jose and Oh master of Gambas :)
>
> I will have a look at Jose's info but Benoit.. I have tried to use
> Desktop.Find() but the documentation was not so understandable for me. It
> would seem like a much simpler way with this. Does this function get all
> the windows titles and put it into an array? if so how would you know which
> one is the active window? there are no sample codes on how to use this
> function, unless you could point to some, I would appreciate your efforts
> very much :)
>
> Many thanks for the help so far folks!
> Kind regards
> Kim
>
I don't know if it is possible to know the active window with X Window. Maybe
the desktop manager stores a property about it in the root window?
--
Benoit Minisini
More information about the User
mailing list