[pygtk] intercept focus-out-event before other signals
shuriken at neko.it
Thu Mar 31 18:42:06 WST 2005
in a program I am writing there are a treeview and a textview. Selecting
a row in the tree allows you to modify the associated text.
I need to intercept any action the user may do when the textview loses
focus (tipically save the associated text), so I connected the
The problem is that the signal gets emitted AFTER any other signal.
By exmaple, if I select a new row in the treeview, first I get the
row-changed signal, and only after the focus-out-event.
This way the contents of the textview gets lost (replaced by that of the
new row) before I can save it.
Is there a way to modify the focus-out priority, or to use another
signal that gets emitted before anything else?
More information about the pygtk