From 37d00ae8eeafa87d61f842cbc85d21d5309c0e9c Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sun, 21 Jul 2024 09:43:24 -0400 Subject: [PATCH] GTK4: add signal for top bar enter --- rosenrot4_beta.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rosenrot4_beta.c b/rosenrot4_beta.c index fe4c56d..d126ce8 100644 --- a/rosenrot4_beta.c +++ b/rosenrot4_beta.c @@ -264,6 +264,8 @@ int main(int argc, char** argv) // g_signal_connect_object(event_controller_keypress, "key-pressed", G_CALLBACK(handle_signal_keypress), notebook, G_CONNECT_DEFAULT); // gtk_widget_add_controller(GTK_WIDGET(notebook), event_controller_keypress); + g_signal_connect(bar.line, "activate", G_CALLBACK(handle_signal_bar_press_enter), NULL); + // Show the application window gtk_window_present(window);