On 02/02/2012 10:23 PM, Ferdinand Ramirez wrote:
> If I set the filename using gtk_file_chooser_set_current_name from a callback 
> method for key-press-event, the filename shows up in the text entry box, but 
> the cursor position is at 0 once the filename has been set. How do I set the 
> cursor position to be at the end of the string I set as the filename?

I think you may use something like:
gtk_editable_set_position(GTK_EDITABLE(entry), -1)

-- 
Emmanuel Thomas-Maurin <manutm...@gmail.com>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to