re: return focus to entry
- From: Carlos Pereira <carlos pehoe civil ist utl pt>
- To: gtk-app-devel-list gnome org
- Subject: re: return focus to entry
- Date: Thu, 27 Sep 2001 15:54:16 +0100
In case if data are wrong I'd like to return focus back
to the wrong entry. How can I do this?
This might be what you want:
gtk_widget_grab_focus (GTK_WIDGET (entry));
gtk_entry_select_region (entry, 0, entry->text_length);
I am not sure that your approach is very user-friendly though...
Carlos
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]