On Sun, Sep 09, 2007 at 11:57:07PM -0400, Andrew Smith wrote:
> I can do 
> gtk_accelerator_parse()/g_cclosure_new()/gtk_accel_group_connect() to 
> have a callback called when F2 is pressed but I've no idea how to tell 
> the callback to edit the selected cell.

You can use one of gtk_tree_view_set_cursor() or
gtk_tree_view_set_cursor_on_cell() to get the tree view to start
editing.  Be sure to set the start_editing parameter to TRUE.  For the
path parameter it is best to pass in the current location of the key
navigation cursor which you can get using gtk_tree_view_get_cursor().


regards,

-kris.
_______________________________________________
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