Hannes Mayr wrote:
<snip>
renderer = gtk_cell_renderer_text_new();
path = gtk_tree_path_new_from_string("0");
gtk_tree_view_set_cursor(GTK_TREE_VIEW(treeview), path, NULL, renderer);
Hi Hannes,
You may also like to consider:
path = gtk_tree_path_new_first();
as a replacement for:
path = gtk_tree_path_new_from_string("0");
in your above code. :)
Regards and best wishes,
Justin Clift
The documentation says set_cursor is often followed by a
gtk_widget_grab_focus(), but I can't see any effect if I call it or not.
Hannes
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list