Recently I tried to use EventControllerKey instead connect keys signal, but sadly I found that functions which I choose, don’t ever execute.
This code in GTK 3 worked fine
but after change only this lines (also in GTK 3), clicking multiple times at tree_view content, don’t print anything to console(simple prints are inside opening_enter_function_ported function):
let evk = EventControllerKey::new(&tree_view);
evk.connect_key_pressed(opening_enter_function_ported);