[Gambas-user] active window howto and little example program

Stefano Palmeri rospolosco at ...152...
Thu Jan 24 19:06:58 CET 2008


Hi, all. Hi, Benoit

We discussed about the current active window on desktop 
and how to get it. 

I wrote a little project that returns the ID and the title
of the current active window. Also returns all current windows.
The project uses xprop and xwininfo, which should be installed
on any system running the X server. No need for other external programs. 

I tested it under KDE, but should work
under other desktop managers.
Hope this helps Kim and other users.

Benoit, is it possible to put it under examples, because
many times in the mailing list people asked for a way to get the active 
window? 

Best regards,

Stefano Palmeri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: activewindow-0.0.6.tar.gz
Type: application/x-tgz
Size: 8158 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20080124/7163c56f/attachment.bin>


More information about the User mailing list