Entry focus-out-eventt inadequate



[gtk-2.2.1, linux]
I have a bunch of gtkEntry widgets, callbacks on 'activate' and
'focus-out-event'.  The callback does an aggressive save-to-database.
But if the user types in the Entry, then clicks on the File menu and
clicks "save", the entry's callback is not called, my app never knows
that the entry value was changed.  The 'changed' signal is too much,
since I don't want to incur database traffic for each keystroke.   

Is there some other signal, or some other technique that will let
me know when the user has clicked on anything outside the Entry?

-- 
 I cannot think why the whole bed of the ocean is
 not one solid mass of oysters, so prolific they seem. Ah,
 I am wandering! Strange how the brain controls the brain!
        -- Sherlock Holmes in "The Dying Detective"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]