An Introduction to C & GUI Programming -----Simon Long 学习笔记 3
这一讲讲的是按键button#includeintmain(intargc,char*argv[]){gtk_init(&argc,&argv);GtkWidget*win1=gtk_window_new(GTK_WINDOW_TOPLEVEL);GtkWidget*win2=gtk_window_new(GTK_WINDOW_TOPLEVEL);GtkWidget*btn=gtk_button_