Hi all,
I have a weird case on a treeview that displays a sortable column with an activatable toggle cell renderer. If the column is sorted, when one activates the toggle, the tree is re-sorted (normal) but the selected row is changed (unexpected). I investigated and I found that when clicking on a toggle cell renderer, the "activate" callback is send which update the treemodel. After re-ordering, the function gtk_tree_view_button_press is called. This function checks which row is under the cursor and selects it. I am looking for a way to trap this event to keep the selection on the "activated" row (like when one edits a text)

_______________________________________________
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