How do I raise a window that is minimized or covered with PyGObject?
I'd been using the answer provided in the PyGTK FAQ , but that doesn't seem to work with PyGObject. For your convenience, here is a test case that works with PyGTK, and then a translated version that doesn't work with PyGObject. PyGTK Version: import gtk def raise_window(widget, w2): w2.window.show() w1 = gtk.Window() w1.set_title('Main window') w2 = gtk.Window() w2.set_title('Other window') b = gtk.Button('Move something on top of the other window.\nOr, minimize the' 'other window.\nThen, click this button to raise the other' 'window to the front') b.connect('clicked', raise_window, w2) w1