关闭窗口
请问下谁知道gtk怎么关闭次窗口,主窗口不关闭! 试试这个gtk_signal_connect(GTK_OBJECT(window), "destroy", GTK_SIGNAL_FUNC(gtk_main_quit), NULL);
或者这个
g_signal_connect(window,"destroy",gtk_main_quit,NULL); 试试这个
gtk_signal_connect(GTK_OBJECT(window), "destroy", GTK_SIGNAL_FUNC(gtk_main_quit), NULL);
或者这个
g_signal_connect(window,"destroy",gtk_main_quit,NULL); 试试这个
gtk_signal_connect(GTK_OBJECT(window), "destroy", GTK_SIGNAL_FUNC(gtk_main_quit), NULL);
或者这个
g_signal_connect(window,"destroy",gtk_main_quit,NULL); 试试这个
gtk_signal_connect(GTK_OBJECT(window), "destroy", GTK_SIGNAL_FUNC(gtk_main_quit), NULL);
或者这个
g_signal_connect(window,"destroy",gtk_main_quit,NULL); 试试这个
gtk_signal_connect(GTK_OBJECT(window), "destroy", GTK_SIGNAL_FUNC(gtk_main_quit), NULL);
或者这个
g_signal_connect(window,"destroy",gtk_main_quit,NULL);
页:
[1]