Re: [pygtk] problem with focus in notebook

2009-06-05 Thread Rob Brown-Bayliss
On Thu, 2009-06-04 at 08:52 -0400, Mike Bernson wrote: > > Walter Leibbrandt wrote: > > Mike Bernson wrote: > >> I have a notebook that I want to control where the focus goes on page > >> switches. Have a similar need to know when a user clicks on a tab to activate the page. I place an event

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

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 fo

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 f

[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 Ent