> ... > >Haven't tried this exactly, but have you tried putting the > >grab_focus() call after a small timeout delay ? > > > >gobject.timeout_add(500,widget.grab_focus) > > How long should the timeout be to not have it ever be too short? How short > should the timeout be so that the user won't interact with the wrong widget?
I've used idle_add successfully to avoid this arbitrary time delay choice. I have found notebook to be a little strange - if you try to make an interface tabbed, you'll find many things which work with normal containers won't work with notebook. Stephen. _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
