Re: Find path under mouse

2017-06-20 Thread Anthony Ruth
If I understand correctly, you want to get the x and y value of the mouse at the time when the keyboard event happens. You can either use GdkDeviceManager to get the pointer and then get x and y from that, or listen for motion_notify events on your treeview and keep track of x and y values (I think

Find path under mouse

2017-06-19 Thread Daniel Kasak
Hi all. Reposting from the gtk-perl list ... no responses there ... Back in gtk+-2.x, I had some code that could find the path underneath the mouse ( I was looking for double-click events in a treeview in this case ): --- my ( $self, $treeview, $event ) = @_; if ( $event->type eq '2butt