#ifndef GTK2_H
#define GTK2_H

FILE *f=fopen("gtk4.h","w");
gtk_init(&argc, &argv);
builder = gtk_builder_new_from_file ("mumps.glade");

adjustment1 = GTK_ADJUSTMENT(gtk_builder_get_object(builder, "adjustment1"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",adjustment1);
 	SymPut("adjustment1", tmp);
 	fprintf(f, " set adjustment1=\"%s\"\n", tmp);
 	}

clearStore = GTK_BUTTON(gtk_builder_get_object(builder, "clearStore"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",clearStore);
 	SymPut("clearStore", tmp);
 	fprintf(f, " set clearStore=\"%s\"\n", tmp);
 	}

col0 = GTK_TREE_VIEW_COLUMN(gtk_builder_get_object(builder, "col0"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",col0);
 	SymPut("col0", tmp);
 	fprintf(f, " set col0=\"%s\"\n", tmp);
 	}
GtkCellRenderer *col0r;

col0r = GTK_CELL_RENDERER(gtk_builder_get_object(builder, "col0r"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",col0r);
 	SymPut("col0r", tmp);
 	fprintf(f, " set col0r=\"%s\"\n", tmp);
 	}

gtk_tree_view_column_add_attribute(col0,col0r,"text",0);

col1 = GTK_TREE_VIEW_COLUMN(gtk_builder_get_object(builder, "col1"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",col1);
 	SymPut("col1", tmp);
 	fprintf(f, " set col1=\"%s\"\n", tmp);
 	}
GtkCellRenderer *col1r;

col1r = GTK_CELL_RENDERER(gtk_builder_get_object(builder, "col1r"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",col1r);
 	SymPut("col1r", tmp);
 	fprintf(f, " set col1r=\"%s\"\n", tmp);
 	}

gtk_tree_view_column_add_attribute(col1,col1r,"text",1);

fixed1 = GTK_FIXED(gtk_builder_get_object(builder, "fixed1"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",fixed1);
 	SymPut("fixed1", tmp);
 	fprintf(f, " set fixed1=\"%s\"\n", tmp);
 	}

loadTable = GTK_BUTTON(gtk_builder_get_object(builder, "loadTable"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",loadTable);
 	SymPut("loadTable", tmp);
 	fprintf(f, " set loadTable=\"%s\"\n", tmp);
 	}

loadTree = GTK_BUTTON(gtk_builder_get_object(builder, "loadTree"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",loadTree);
 	SymPut("loadTree", tmp);
 	fprintf(f, " set loadTree=\"%s\"\n", tmp);
 	}

scrolledWindow2 = GTK_SCROLLED_WINDOW(gtk_builder_get_object(builder, "scrolledWindow2"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",scrolledWindow2);
 	SymPut("scrolledWindow2", tmp);
 	fprintf(f, " set scrolledWindow2=\"%s\"\n", tmp);
 	}

select1 = GTK_TREE_SELECTION(gtk_builder_get_object(builder, "select1"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",select1);
 	SymPut("select1", tmp);
 	fprintf(f, " set select1=\"%s\"\n", tmp);
 	}

textbuffer1 = GTK_TEXT_BUFFER(gtk_builder_get_object(builder, "textbuffer1"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",textbuffer1);
 	SymPut("textbuffer1", tmp);
 	fprintf(f, " set textbuffer1=\"%s\"\n", tmp);
 	}

tree1 = GTK_TREE_VIEW(gtk_builder_get_object(builder, "tree1"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",tree1);
 	SymPut("tree1", tmp);
 	fprintf(f, " set tree1=\"%s\"\n", tmp);
 	}

treeStore = GTK_TREE_STORE(gtk_builder_get_object(builder, "treeStore"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",treeStore);
 	SymPut("treeStore", tmp);
 	fprintf(f, " set treeStore=\"%s\"\n", tmp);
 	}

window = GTK_WINDOW(gtk_builder_get_object(builder, "window"));
	{
	char tmp[128];
 	sprintf(tmp,"%p",window);
 	SymPut("window", tmp);
 	fprintf(f, " set window=\"%s\"\n", tmp);
 	}

g_signal_connect(window, "destroy", G_CALLBACK(gtk_main_quit), NULL);
gtk_builder_connect_signals(builder, NULL);
gtk_widget_show(GTK_WIDGET(window));
fclose(f);

#endif
