Forcing focus to a GtkEntry
- From: Gian Luigi Gragnani <gragnani dibe unige it>
- To: gtk-list gnome org
- Subject: Forcing focus to a GtkEntry
- Date: Tue, 13 Jun 2000 10:07:20 +0200
Hello all
I have the following problem:
I have a window with many entries and I want to validate the text in an
entry
when the focus-out signal is received, and force the focus to stay in
the same entry if its present text is not valid.
I have tried gtk_widget_grab_focus but it works when just one entry has
to be checked; instead, if the focus is passed to another entry needing
validation
the is a sort of oscillation between the two entries (both trying of
gaining focus) and the system become unusable.
Do you know a possible soluiton to this problem
Thank you in advance.
G. L. Gragnani
--
Gian Luigi Gragnani DIBE - University of Genoa
Via Opera Pia 11A 16145 Genova Italy
Tel. + 39 010 353 2244 Fax + 39 010 353 2245
mailto:gragnani@dibe.unige.it
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]