testing-repository/Gtk2/gtk1.cpp

10 lines
207 B
C++
Raw Normal View History

2020-09-29 19:40:49 +08:00
#include<gtk/gtk.h>
int main(int argc,char *argv[]){
GtkWidget *window;
gtk_init(&argc,&argv);
window=gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_widget_show(window);
gtk_main();
return FALSE;
}