[pygtk] problem with focus in notebook

2009-06-04 Thread Mike Bernson
I have a notebook that I want to control where the focus goes on page switches. I connect to the switch-page signal. In the handle for the switch-page signal I set the focus to a Entry widget. The focus ends up on the tab for the page. If I call idle_add with function to set the focus to the

Re: [pygtk] problem with focus in notebook

2009-06-04 Thread Walter Leibbrandt
Mike Bernson wrote: I have a notebook that I want to control where the focus goes on page switches. I connect to the switch-page signal. In the handle for the switch-page signal I set the focus to a Entry widget. The focus ends up on the tab for the page. If I call idle_add with function

Re: [pygtk] problem with focus in notebook

2009-06-04 Thread Mike Bernson
Walter Leibbrandt wrote: Mike Bernson wrote: I have a notebook that I want to control where the focus goes on page switches. I connect to the switch-page signal. In the handle for the switch-page signal I set the focus to a Entry widget. The focus ends up on the tab for the page. If I

Re: [pygtk] problem with focus in notebook

2009-06-04 Thread Alessandro Dentella
On Thu, Jun 04, 2009 at 08:27:13AM -0400, Mike Bernson wrote: I have a notebook that I want to control where the focus goes on page switches. I connect to the switch-page signal. In the handle for the switch-page signal I set the focus to a Entry widget. The focus ends up on the tab