[I'm re-posting this from http://www.gnomedev.com/viewtopic.php?t=36]
Hi there. I'm trying to work out how to run a callback when my application's main window is given top level focus. I'm using PyGTK, but I think my question is really a general GTK+ one. How are you supposed to do it? I can't find a signal on a GtkWindow that I could connect to, which has left me stumped. I'm not sure how else it would work. I know it's possible (the wonderful gossip [http://live.gnome.org/Gossip] does it), but a cursory scan of the source didn't reveal anything obvious (to me). Any pointers? Cheers, Graham _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/