return focus to entry
- From: Michal ROMAN <michal roman nov sk>
- To: gtk-app-devel-list gnome org
- Subject: return focus to entry
- Date: 27 Sep 2001 16:23:46 +0200
Hi all
I have defined 5 GtkEntry in my window. I'd like to check correct of data in entry.
So, I've connected to signal "focus_out_event" and in callback function I check data.
In case if data are wrong I'd like to return focus back to the wrong entry. How can I do this?
I've tried gtk_signal_emit_stop_by_name(GTK_OBJECT (widget), "focus_out_event") + return TRUE, but it doesn't
work.
What can I doing wrong? Could I use another signal?
Thanks.
Michal.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]