Alternative for broken GestureClick?

Hi,

Recently I updated my project from GTK3 to GTK4.
Most of things works fine, but I have problem with GestureClick and TreeView.

With GTK 3 i had in Treeview connected signal connect_button_release_event, which allowed me to check current selected results(this shows incorrect - previous result when using connect_button_press_event)

In GTK 4 I use GestureClick with connect_released which not works(not emit even once).
Is there any alternative that I can use?

I tried to use connect_end, but it works exactly same as connect_pressed
Is there posibility to emit signal in deferred way(which run at the end of frame instead immediately?) - this will allow me to emit release event from end signal

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.