Re: [pygtk] Taking action when a window is raised

2006-03-09 Thread Tony Nelson
At 2:10 PM -0500 3/8/06, Graham Ashton wrote: [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+

[pygtk] Taking action when a window is raised

2006-03-08 Thread Graham Ashton
[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