g_timeout_add(500, cursor_blink, cursor);
create_widget_set(){  GtkWidget* main_vbox;  GtkWidget* menu_bar;  GtkWidget* frame;  main_vbox = gtk_vbox_new(FALSE, 1);  gtk_container_border_width(GTK_CONTAINER(main_vbox), 1);  gtk_container_add(GTK_CONTAINER(window), main_vbox);  gtk_widget_show(main_vbox);  menu_bar = get_main_menu();  gtk_box_pack_start(GTK_BOX(main_vbox), menu_bar, FALSE, TRUE, 0);  gtk_widget_show(menu_bar);  scrolled_area = gtk_scrolled_window_new(NULL, NULL);  gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_area),				 GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);  gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolled_area),				      GTK_SHADOW_IN);  gtk_widget_show(scrolled_area);  gtk_box_pack_start(GTK_BOX(main_vbox), scrolled_area, TRUE, TRUE, 0);  main_area = gtk_math_view_new(NULL, NULL);  gtk_widget_show(main_area);  gtk_container_add(GTK_CONTAINER(scrolled_area), main_area);  g_signal_connect(GTK_OBJECT (main_area),		   "select_begin", 		   G_CALLBACK(select_begin),		   (gpointer) main_area);  g_signal_connect(GTK_OBJECT (main_area),		   "select_over", 		   G_CALLBACK(select_over),		   (gpointer) main_area);  g_signal_connect(GTK_OBJECT (main_area),		   "select_end", 		   G_CALLBACK(select_end),		   (gpointer) main_area);   g_signal_connect(GTK_OBJECT (main_area),		   "select_abort", 		   G_CALLBACK(select_abort),		   (gpointer) main_area);  g_signal_connect(GTK_OBJECT (main_area),		   "element_over", 		   G_CALLBACK(element_over),		   (gpointer) main_area);    g_signal_connect(GTK_OBJECT (main_area),		   "click", 		   G_CALLBACK(click),		   (gpointer) main_area);  cursor = gtk_math_view_decor_default_cursor_new(main_area);  status_bar = gtk_statusbar_new();  gtk_widget_show(status_bar);  gtk_box_pack_start(GTK_BOX(main_vbox), status_bar, FALSE, TRUE, 0);  statusbar_context = gtk_statusbar_get_context_id(GTK_STATUSBAR(status_bar), "filename");  gtk_widget_show(main_vbox);}