With a treeview you can try measuring your rows and figure out where your
cursor is in your treeview. Try the following out and see if it is of any help.
Eric
/*
With Ubuntu16.04 and GTK3.18.
gcc -Wall tree_row1.c -o tree_row1 `pkg-config --cflags --libs gtk+-3.0`
*/
#include
Could you use a GtkListBox? With a list box you can add a widget to the row and
connect the "enter-notify-event" and "leave-notify-event" signals. There is
example code for a list box at
https://blog.gtk.org/2017/06/01/drag-and-drop-in-lists-revisited/
It is drag and drop but you could
How can I detect when the mouse cursor leaves a GtkTreeView row ?
Note that the signal "cursor-changed" is not what I am looking for, as it
gets emitted as if it is a mouse enter (mouseover) event and I need it to
be triggered
when the mouse has just left the row. However within