[pygtk] signal for detecting a losing focus in an entry

Timo timomlists at gmail.com
Thu Apr 5 15:28:11 WST 2012


Op 05-04-12 04:53, Joe Nall schreef:
> I'm successfully catching a<return>  in an entry field and updating another computed field. I would like to catch and edit then a tab out as well. Is there a signal for this? What I have now is :
>   self.foo  = gtk.Entry(15)
>   self.foo.connect('activate', self.update)
Check the focus, focus-in-event and focus-out-event.

http://developer.gnome.org/pygtk/stable/class-gtkwidget.html#signal-gtkwidget--focus

Timo

>
>
> thanks,
> joe
>
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/



More information about the pygtk mailing list