re: return focus to entry



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]