# List all current windows open...?

**URL:** <https://www.ruby-forum.com/t/list-all-current-windows-open/110997>\
**Category:** Ruby-Gnome 2\
**Created:** [August 1, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/list-all-current-windows-open/110997 "2007-08-01T20:06:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronpowell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/7bcc69/32.png) [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Post date:** [August 1, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/list-all-current-windows-open/110997/1 "2007-08-01T20:06:28Z")

</div>

Is there a way to list all of the current windows open? For example,  
I’d like to find all Firefox windows and minimize them. I’ve tried  
looking in Gtk::Window.toplevels but it’s empty and  
Gdk::Window.toplevels only contains a single window with no children.

Any advice?

Thanks.
