"David J. Topper" <[EMAIL PROTECTED]> writes:
> I've got a chain of gtk_entrys that I want to advance between when I hit
> tab. I've almost got it working, but all the following does is select
> text ... it does not allow me to edit. I have to manually click the
> mouse.
>
On my system, Tab already moves to the next widget when you press it
in an entry.
> gtk_widget_activate(next_ent);
You probably want gtk_widget_grab_focus() instead.
> gtk_editable_select_region(GTK_EDITABLE(next_ent),0,strlen(next_text));
> gtk_editable_set_position(GTK_EDITABLE(next_ent),0);
Maybe do this in a focus_in_event handler on the next entry, instead of here.
Havoc
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list