How to get the titles for all top level windows

2007-05-22 Thread Sreeram Akella
Hi, I am using GTK version 2.8.9 on Fedora Core 6. I need to develop an application that lists all top level windows along with the corresponding titles. I tried using the method gdk_windows_get_toplevels() to return the GList of all top level windows on the default screen on the default

Re: How to get the titles for all top level windows

2007-05-22 Thread wallace . owen
On Tue, 2007-05-22 at 16:33 -0700, Sreeram Akella wrote: Hi, I am using GTK version 2.8.9 on Fedora Core 6. I need to develop an application that lists all top level windows along with the corresponding titles. I tried using the method gdk_windows_get_toplevels() to return the GList of all

Re: How to get the titles for all top level windows

2007-05-22 Thread Emmanuele Bassi
On Tue, 2007-05-22 at 16:33 -0700, Sreeram Akella wrote: I would greatly appreciate it if some one can point me to the error here or still better a code snippet that can do this. you want to use libwnck, not gtk+ if you plan to manipulate the entire windows list. ciao, Emmanuele. --

RE: How to get the titles for all top level windows

2007-05-22 Thread Sreeram Akella
Hi Wally, Thanks for your quick response. But is there any way I can get the list of all the windows of all applications, just like what a Window manager would maintain? Thanks Sreeram -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 4:49