GTK+开发第一篇 Leave a reply [cpp] #include <gtk/gtk.h> static void window_quit(GtkButton* button, gpointer func_data) { g_print("window quit : %s\n", (char *) func_data); gtk_main_quit(); } gint main(int argc, char *argv[]) { GtkWidget * window; gtk_init([......] 继续阅读