John Braue - 2009-04-14

I had wanted to validate an entry field as keystrokes were made, so as to exclude invalid characters.  I registered a callback for DW_KEY_PRESS_EVENT using dw_signal_connect.  Whilst this does indeed trap keystrokes, the contents of a key buffer appear to be saved and inserted into the entry field after the return from the callback.  Returning 1 to indicate that the default action should not be taken appears not to be efficacious.  Does anyone have a suggestion as to what I am doing wrong here?