GTK 3 How to connect one signal to multiple widgets?
问题 I need to create a form with the model created by the code bellow, composed by a window with two text entries and one button. I need to put some text in the entries, and when the button is pressed, put the text gotten in the two entries in an array, (or print them both, or any action with both at the same time) The code used to create the window is the following: #include <iostream> #include <gtk/gtk.h> using namespace std; GtkWidget *wventana; GtkWidget *wgrid; void ventana(string titulo,