Hi,
I'm trying to write a task manager (in Tcl, not that it matters much for
this question). Is there some way of getting the window IDs and names
(as seen by the window manager) of all the toplevel windows (or at least
ones that should be seen in a task manager)? I'd like to be able to do
this in a fairly portable way, using a similar mechanism on the iPAQ and
on the desktop (Linux only). I've tried using 'xlsclients -l' but it
only returns one ID for each application - no good for Netscape (for
instance) which has multiple windows. Also 'xwininfo -tree -root' will
return everything, but then how do I know which window IDs refer to
toplevel windows? I've also heard of the 'xlswins' command, but I don't
have it and can't find it anywhere - is it still used?
Failing that, I may have to resort to using a small C program. Any
volunteers?
Thanks!
Mark /
-- Mark G. Saye markgsaye@yahoo.comReceived on Thu Apr 18 01:00:04 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:46 EDT