How to refresh, redraw a window (widget) in gtk?
问题 I am using Opensuse 13.1 Linux Os. I am new to gtk2 and c. I am trying to create a application that can place a button on a table which is attached as per the values typed by the user. My program code is as following #include <stdlib.h> #include <gtk/gtk.h> typedef struct { GtkWidget *value1, *value2, *value3, *value4; } entrygrouped; guint ival1, ival2, ival3, ival4; void button_clicked(entrygrouped *widget) { const gchar *value1, *value2, *value3, *value4; value1 = gtk_entry_get_text (GTK