Hi all, In my focus out event, I validate the string specified in the entry box for which the focus out has been generated. If the value is invalid, I want the focus to stay there itself. I tried to return TRUE from the callback for invalid enty, I got the error.
gtkEntry-did not recieve focus-out-event. If you connect a handler to this signal, it must return FALSE so the entry gets the evnt as well. And an error message(message box) is diplayed throwing Gtk-ERROR**: file gtkentry.c: line 4856 (blink_cb): assertion failed:(GTK_WIDGET_HAS_FOCUS(entry)) aborting.... I tried to set focus using gtk_window_set_focus, for the same entry. But again I get the same error message even if I return FALSE. Please help me Thanks Deekshit M _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list