Posted on 2007-05-03 07:39:08-07 by bertv
perl gtk : get a list of all open windows
I need to get a list of all open windows, to check if there are fullscreen windows and if so I need to unfullscreen the window to be able to show a dialog window (otherwise this window isn't on top of a fullscreen rdesktop window). I've tried this through the list_toplevels method of the Gtk2::Window object, but I'm not able to loop over the windows (it gives me a list with only one window object, though several applications are open). I'm new to perl & gtk, so this could be very trivial but in either way thanks in advance.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.