goffice r2183 - in trunk: . po tests



Author: haltonhuo
Date: Fri Aug 22 03:19:39 2008
New Revision: 2183
URL: http://svn.gnome.org/viewvc/goffice?rev=2183&view=rev

Log:
2008-08-22  Halton Huo <halton huo sun com>

	Fix bug #547408: Add go-demo for testing more charts
	* tests/Makefile.am: Add go-demo.c and go-demo.glade fro go-demo
	* tests/go-demo.c: (added)
	* tests/go-demo.glade: (added)
	* po/POTFILES.in: Add go-dmoe.glade



Added:
   trunk/tests/go-demo.c
   trunk/tests/go-demo.glade
Modified:
   trunk/ChangeLog
   trunk/po/ChangeLog
   trunk/po/POTFILES.in
   trunk/tests/Makefile.am

Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in	(original)
+++ trunk/po/POTFILES.in	Fri Aug 22 03:19:39 2008
@@ -306,3 +306,4 @@
 plugins/smoothing/gog-exp-smooth.glade
 plugins/smoothing/plugin.xml.in
 plugins/smoothing/types.xml.in
+tests/go-demo.glade

Modified: trunk/tests/Makefile.am
==============================================================================
--- trunk/tests/Makefile.am	(original)
+++ trunk/tests/Makefile.am	Fri Aug 22 03:19:39 2008
@@ -1,7 +1,13 @@
-check_PROGRAMS = pie-demo 
+check_PROGRAMS = pie-demo go-demo 
 
 include $(top_srcdir)/goffice.mk
 
 AM_CFLAGS = $(GOFFICE_CFLAGS)
+
 pie_demo_LDADD = $(GOFFICE_PLUGIN_LIBADD)
 pie_demo_SOURCES = pie-demo.c
+
+go_demo_LDADD = $(GOFFICE_PLUGIN_LIBADD)
+go_demo_SOURCES = go-demo.c
+
+EXTRA_DIST = go-demo.glade

Added: trunk/tests/go-demo.c
==============================================================================
--- (empty file)
+++ trunk/tests/go-demo.c	Fri Aug 22 03:19:39 2008
@@ -0,0 +1,508 @@
+/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * go-demo.c : 
+ *
+ * Copyright (C) 2003-2005 Jean Brefort (jean brefort normalesup org)
+ * Copyright (C) 2008 Sun Microsystems, Inc.  All rights reserved.
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA.
+ */
+
+#include <glib.h>
+#include <strings.h>
+#include <gtk/gtk.h>
+#include <glade/glade.h>
+
+#include <goffice/goffice.h>
+#include <goffice/app/go-plugin.h>
+#include <goffice/app/go-plugin-loader-module.h>
+#include <goffice/data/go-data-simple.h>
+#include <goffice/graph/gog-data-set.h>
+#include <goffice/graph/gog-label.h>
+#include <goffice/graph/gog-object.h>
+#include <goffice/graph/gog-plot.h>
+#include <goffice/graph/gog-series.h>
+#include <goffice/graph/gog-style.h>
+#include <goffice/gtk/go-graph-widget.h>
+
+typedef struct _GoDemoPrivate GoDemoPrivate;
+struct _GoDemoPrivate {
+	GtkWidget *toplevel;
+	GladeXML  *xml;
+	
+	GtkWidget *menu_item_quit;
+	GtkWidget *btn_regen;
+	GtkWidget *notebook_charts;
+	GtkWidget *notebook_data;
+
+	/* Legend data widgets */
+	GtkEntry* entry_legend[6];
+
+	/* Value data widgets */
+	GtkSpinButton* spb_value[6];
+
+	/* Index data widgets */
+	GtkSpinButton* spb_index[6];
+
+	/* Angel data widgets */
+	GtkSpinButton* spb_angle[6];
+
+	/* Starts data widgets */
+	GtkSpinButton* spb_start[6];
+
+	/* Matrix data widgets */
+	GtkSpinButton* spb_matrix[20];
+};
+
+static char const * const legends[] = {"first", "second",
+					"third", "fourth",
+					"fifth", "sixth"};
+static double values[6] = {10., 20., 30., 40., 50., 60.};
+static double indexs[6] = {1, 2, 3, 4, 5, 6};
+static double angles[6] = {0, 30, 80, 180, 250, 300};
+static double starts[6] = {1., 2., 3., 4., 5., 6.};
+static double matrix[20] = {10., 20., 30., 40., 50., 60., 70., 80., 90., 100.,
+			  110., 120., 130., 140., 150., 160., 170., 180., 190., 200.};
+
+static void generate_all_charts (GtkNotebook *notebook);
+
+static void
+on_quit (GtkMenuItem *menuitem, gpointer user_data)
+{
+	gtk_object_destroy (user_data);
+	gtk_main_quit ();
+}
+
+static void
+btn_regen_clicked (GtkButton *button, gpointer user_data)
+{
+	GoDemoPrivate *priv = (GoDemoPrivate *)user_data;
+	int i;
+	/* get data from widgets */
+	for (i = 0; i < 6; i++) {
+		values[i] = gtk_spin_button_get_value (priv->spb_value[i]);
+		indexs[i] = gtk_spin_button_get_value (priv->spb_index[i]);
+		angles[i] = gtk_spin_button_get_value (priv->spb_angle[i]);
+		starts[i] = gtk_spin_button_get_value (priv->spb_start[i]);
+	}
+	for (i = 0; i < 20; i++) {
+		matrix[i] = gtk_spin_button_get_value (priv->spb_matrix[i]);
+	}
+
+	/* Re-generate all charts based on new data */
+	generate_all_charts (GTK_NOTEBOOK (priv->notebook_charts));
+}
+
+static GogPlot *
+setup_page (GtkNotebook *notebook, const gchar *service_id)
+{
+	GtkWidget *child, *w;
+	GogChart *chart;
+	GogGraph *graph;
+	GogLabel *label;
+	GogPlot *plot;
+	GOData *data;
+	GogStyle *style;
+	PangoFontDescription *desc;
+
+	child = gtk_vbox_new (FALSE, 0);
+	gtk_notebook_append_page (notebook, child, gtk_label_new (service_id));
+	/* Create a graph widget and add it to the GtkVBox */
+	w = go_graph_widget_new (NULL);
+	gtk_box_pack_end (GTK_BOX (child), w, TRUE, TRUE, 0);
+	/* Get the embedded graph */
+	graph = go_graph_widget_get_graph (GO_GRAPH_WIDGET (w));
+	/* Add a title */
+	label = (GogLabel *) g_object_new (GOG_LABEL_TYPE, NULL);
+	data = go_data_scalar_str_new (service_id, FALSE);
+	gog_dataset_set_dim (GOG_DATASET (label), 0, data, NULL);
+	gog_object_add_by_name (GOG_OBJECT (graph), "Title", GOG_OBJECT (label));
+	/* Change the title font */
+	style = gog_styled_object_get_style (GOG_STYLED_OBJECT (label));
+	desc = pango_font_description_from_string ("Sans bold 16");
+	gog_style_set_font_desc (style, desc);
+	/* Get the chart created by the widget initialization */
+	chart = go_graph_widget_get_chart (GO_GRAPH_WIDGET (w));
+	/* Create a plot and add it to the chart */
+	plot = (GogPlot *) gog_plot_new_by_name (service_id);
+	gog_object_add_by_name (GOG_OBJECT (chart), "Plot", GOG_OBJECT (plot));
+	/* Add a legend to the chart */
+	gog_object_add_by_name (GOG_OBJECT (chart), "Legend", NULL);
+
+	return plot;
+}
+
+static void
+insert_1_5d_data (GogPlot *plot)
+{
+	GSList *list;
+	GogSeries *series;
+	GOData *data;
+	GError *error;
+
+	/* Create a series for the plot and populate it with some simple data */
+	list = (GSList *)gog_plot_get_series (plot);
+	if (g_slist_length (list) == 1)
+		series = g_slist_nth_data (list, 0);
+	else
+		series = gog_plot_new_series (plot);
+
+	data = go_data_vector_str_new (legends, 6, NULL);
+	gog_series_set_dim (series, 0, data, &error);
+	data = go_data_vector_val_new (values, 6, NULL);
+	gog_series_set_dim (series, 1, data, &error);
+}
+
+static void
+insert_polar_data (GogPlot *plot)
+{
+	GSList *list;
+	GogSeries *series;
+	GOData *data;
+	GError *error;
+
+	/* Create a series for the plot and populate it with some simple data */
+	list = (GSList *)gog_plot_get_series (plot);
+	if (g_slist_length (list) == 1)
+		series = g_slist_nth_data (list, 0);
+	else
+		series = gog_plot_new_series (plot);
+
+	data = go_data_vector_val_new (angles, 6, NULL);
+	gog_series_set_dim (series, 0, data, &error);
+	data = go_data_vector_val_new (values, 6, NULL);
+	gog_series_set_dim (series, 1, data, &error);
+}
+
+static void
+insert_box_data (GogPlot *plot)
+{
+	GSList *list;
+	GogSeries *series;
+	GOData *data;
+	GError *error;
+
+	/* Create a series for the plot and populate it with some simple data */
+	list = (GSList *)gog_plot_get_series (plot);
+	if (g_slist_length (list) == 1)
+		series = g_slist_nth_data (list, 0);
+	else
+		series = gog_plot_new_series (plot);
+
+	data = go_data_vector_val_new (values, 6, NULL);
+	gog_series_set_dim (series, 0, data, &error);
+}
+
+static void
+insert_histogram_data (GogPlot *plot)
+{
+	GSList *list;
+	GogSeries *series;
+	GOData *data;
+	GError *error;
+
+	/* Create a series for the plot and populate it with some simple data */
+	list = (GSList *)gog_plot_get_series (plot);
+	if (g_slist_length (list) == 1)
+		series = g_slist_nth_data (list, 0);
+	else
+		series = gog_plot_new_series (plot);
+
+	data = go_data_vector_val_new (indexs, 6, NULL);
+	gog_series_set_dim (series, 0, data, &error);
+	data = go_data_vector_val_new (values, 6, NULL);
+	gog_series_set_dim (series, 1, data, &error);
+}
+
+static void
+insert_xy_data (GogPlot *plot)
+{
+	insert_histogram_data (plot);
+}
+
+static void
+insert_bubble_data (GogPlot *plot)
+{
+	GSList *list;
+	GogSeries *series;
+	GOData *data;
+	GError *error;
+
+	/* Create a series for the plot and populate it with some simple data */
+	list = (GSList *)gog_plot_get_series (plot);
+	if (g_slist_length (list) == 1)
+		series = g_slist_nth_data (list, 0);
+	else
+		series = gog_plot_new_series (plot);
+
+	data = go_data_vector_val_new (indexs, 6, NULL);
+	gog_series_set_dim (series, 0, data, &error);
+	data = go_data_vector_val_new (indexs, 6, NULL);
+	gog_series_set_dim (series, 1, data, &error);
+	data = go_data_vector_val_new (values, 6, NULL);
+	gog_series_set_dim (series, 2, data, &error);
+}
+
+static void
+insert_dropbar_data (GogPlot *plot)
+{
+	GSList *list;
+	GogSeries *series;
+	GOData *data;
+	GError *error;
+
+	/* Create a series for the plot and populate it with some simple data */
+	list = (GSList *)gog_plot_get_series (plot);
+	if (g_slist_length (list) == 1)
+		series = g_slist_nth_data (list, 0);
+	else
+		series = gog_plot_new_series (plot);
+
+	data = go_data_vector_str_new (legends, 6, NULL);
+	gog_series_set_dim (series, 0, data, &error);
+	data = go_data_vector_val_new (starts, 6, NULL);
+	gog_series_set_dim (series, 1, data, &error);
+	data = go_data_vector_val_new (values, 6, NULL);
+	gog_series_set_dim (series, 2, data, &error);
+}
+
+static void
+insert_xyz_data (GogPlot *plot)
+{
+	GSList *list;
+	GogSeries *series;
+	GOData *data;
+	GError *error;
+
+	/* Create a series for the plot and populate it with some simple data */
+	list = (GSList *)gog_plot_get_series (plot);
+	if (g_slist_length (list) == 1)
+		series = g_slist_nth_data (list, 0);
+	else
+		series = gog_plot_new_series (plot);
+
+	data = go_data_vector_val_new (indexs, 6, NULL);
+	gog_series_set_dim (series, 0, data, &error);
+	data = go_data_vector_val_new (indexs, 6, NULL);
+	gog_series_set_dim (series, 1, data, &error);
+	data = go_data_matrix_val_new (matrix, 4, 5, NULL);
+	gog_series_set_dim (series, 2, data, &error);
+}
+
+static void
+insert_minmax_data (GogPlot *plot)
+{
+	insert_dropbar_data (plot);
+}
+
+static void
+init_data_widgets (GoDemoPrivate *priv)
+{
+	int i;
+	char *wname = NULL;
+	
+	for (i =0; i< 6; i++) {
+		GtkSpinButton *spbutton;
+		/* init legend widgets */
+		g_free (wname);
+		wname = g_strdup_printf ("entry_legend_%d", i+1);
+		priv->entry_legend[i] = GTK_ENTRY (glade_xml_get_widget (
+					priv->xml, wname));
+		gtk_entry_set_text (priv->entry_legend[i], legends[i]);
+		/* init value widgets */
+		g_free (wname);
+		wname = g_strdup_printf ("spb_value_%d", i+1);
+		priv->spb_value[i] = GTK_SPIN_BUTTON (glade_xml_get_widget (
+					priv->xml, wname));
+		gtk_spin_button_set_value (priv->spb_value[i], values[i]);
+		g_signal_connect(priv->spb_value[i], "value-changed",
+				G_CALLBACK(btn_regen_clicked), priv);
+		/* init index widgets */
+		g_free (wname);
+		wname = g_strdup_printf ("spb_index_%d", i+1);
+		priv->spb_index[i] = GTK_SPIN_BUTTON (glade_xml_get_widget (
+					priv->xml, wname));
+		gtk_spin_button_set_value (priv->spb_index[i], indexs[i]);
+		g_signal_connect (priv->spb_index[i], "value-changed",
+				G_CALLBACK(btn_regen_clicked), priv);
+		/* init angle widgets */
+		g_free (wname);
+		wname = g_strdup_printf ("spb_angle_%d", i+1);
+		priv->spb_angle[i] = GTK_SPIN_BUTTON (glade_xml_get_widget (
+					priv->xml, wname));
+		gtk_spin_button_set_value (priv->spb_angle[i], angles[i]);
+		g_signal_connect (priv->spb_angle[i], "value-changed",
+				G_CALLBACK(btn_regen_clicked), priv);
+		/* init start widgets */
+		g_free (wname);
+		wname = g_strdup_printf ("spb_start_%d", i+1);
+		priv->spb_start[i] = GTK_SPIN_BUTTON (glade_xml_get_widget (
+					priv->xml, wname));
+		gtk_spin_button_set_value (priv->spb_start[i], starts[i]);
+		g_signal_connect (priv->spb_start[i], "value-changed",
+				G_CALLBACK(btn_regen_clicked), priv);
+	}
+
+	for (i =0; i <20; i++) {
+		/* init start widgets */
+		g_free (wname);
+		wname = g_strdup_printf ("spb_matrix_%d", i+1);
+		priv->spb_matrix[i] = GTK_SPIN_BUTTON (glade_xml_get_widget (
+					priv->xml, wname));
+		gtk_spin_button_set_value (priv->spb_matrix[i], matrix[i]);
+		g_signal_connect (priv->spb_matrix[i], "value-changed",
+				G_CALLBACK(btn_regen_clicked), priv);
+	}
+
+}
+
+static void
+generate_all_charts (GtkNotebook *notebook)
+{
+	GogPlot *plot = NULL;
+	int i;
+	gint current_page;
+
+	current_page = gtk_notebook_get_current_page (notebook);
+
+	/* clean up old pages */
+	for (i = gtk_notebook_get_n_pages (notebook) - 1; i >= 0; i--) {
+		gtk_notebook_remove_page (notebook, i);
+	}
+
+	plot = setup_page (notebook, "GogPiePlot");
+	insert_1_5d_data (plot);
+	plot = setup_page (notebook, "GogRingPlot");
+	insert_1_5d_data (plot);
+
+	plot = setup_page (notebook, "GogRadarPlot");
+	insert_1_5d_data (plot);
+	plot = setup_page (notebook, "GogRadarAreaPlot");
+	insert_1_5d_data (plot);
+	plot = setup_page (notebook, "GogPolarPlot");
+	insert_polar_data (plot);
+
+	plot = setup_page (notebook, "GogBoxPlot");
+	insert_box_data (plot);
+	plot = setup_page (notebook, "GogHistogramPlot");
+	insert_histogram_data (plot);
+
+	plot = setup_page (notebook, "GogXYPlot");
+	insert_xy_data (plot);
+	plot = setup_page (notebook, "GogBubblePlot");
+	insert_bubble_data (plot);
+	plot = setup_page (notebook, "GogXYColorPlot");
+	insert_bubble_data (plot);
+
+	plot = setup_page (notebook, "GogLinePlot");
+	insert_1_5d_data (plot);
+	plot = setup_page (notebook, "GogAreaPlot");
+	insert_1_5d_data (plot);
+	plot = setup_page (notebook, "GogBarColPlot");
+	insert_1_5d_data (plot);
+	plot = setup_page (notebook, "GogDropBarPlot");
+	insert_dropbar_data (plot);
+	plot = setup_page (notebook, "GogMinMaxPlot");
+	insert_minmax_data (plot);
+
+	plot = setup_page (notebook, "GogContourPlot");
+	insert_xyz_data (plot);
+	plot = setup_page (notebook, "GogSurfacePlot");
+	insert_xyz_data (plot);
+
+
+	/* These charts are included because they are for compatibility
+	   with the weird excel, Jean suggest to drop them. See bug
+	   http://bugzilla.gnome.org/show_bug.cgi?id=547408 for more detail.
+	*/
+	/*
+	plot = setup_page (notebook, "XLContourPlot");
+	plot = setup_page (notebook, "XLSurfacePlot");
+	*/
+
+	/* FIXME: These charts are included for they have critical warning */
+	/*
+	plot = setup_page (notebook, "GogLogFitCurve");
+
+	plot = setup_page (notebook, "GogLinRegCurve");
+	plot = setup_page (notebook, "GogExpRegCurve");
+	plot = setup_page (notebook, "GogPowerRegCurve");
+	plot = setup_page (notebook, "GogLogRegCurve");
+	plot = setup_page (notebook, "GogPolynomRegCurve");
+
+	plot = setup_page (notebook, "GogMovingAvg");
+	plot = setup_page (notebook, "GogExpSmooth");
+	*/
+	gtk_widget_show_all (GTK_WIDGET (notebook));
+	if (current_page != -1)
+		gtk_notebook_set_current_page (notebook, current_page);
+}
+
+int
+main (int argc, char *argv[])
+{
+	GtkWidget *window;
+	GoDemoPrivate *priv;
+	const gchar *glade_file;
+
+	gtk_init (&argc, &argv);
+	/* Initialize libgoffice */
+	libgoffice_init ();
+	/* Initialize plugins manager */
+	go_plugins_init (NULL, NULL, NULL, NULL, TRUE, GO_PLUGIN_LOADER_MODULE_TYPE);
+
+	window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+	gtk_window_resize (GTK_WINDOW (window), 800, 800);
+	gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
+	gtk_window_set_title (GTK_WINDOW (window), "GOffice demo");
+	g_signal_connect (window, "destroy", gtk_main_quit, NULL);
+
+	priv = g_new0 (GoDemoPrivate, 1);
+#define GO_DEMO_GLADE  "go-demo.glade"
+	glade_file = "./" GO_DEMO_GLADE;
+	if (!g_file_test (glade_file, G_FILE_TEST_EXISTS))
+		glade_file = "../" GO_DEMO_GLADE;
+	if (!g_file_test (glade_file, G_FILE_TEST_EXISTS)) {
+		g_warning ("Unable to load file %s", GO_DEMO_GLADE);
+		return 0;
+	}
+	priv->xml = glade_xml_new (glade_file, "toplevel", NULL);
+#undef GO_DEMO_GLADE
+
+	priv->toplevel = glade_xml_get_widget (priv->xml, "toplevel");
+	gtk_container_add (GTK_CONTAINER (window), priv->toplevel);
+
+	priv->menu_item_quit = glade_xml_get_widget (priv->xml, "menu_item_quit");
+	g_signal_connect (priv->menu_item_quit, "activate",
+			G_CALLBACK (on_quit), window);
+
+	priv->btn_regen = glade_xml_get_widget (priv->xml, "btn_regen");
+	g_signal_connect (priv->btn_regen, "clicked",
+			G_CALLBACK (btn_regen_clicked), priv);
+
+	priv->notebook_data = glade_xml_get_widget (priv->xml, "notebook_data");
+	init_data_widgets (priv);
+	gtk_notebook_set_current_page (GTK_NOTEBOOK (priv->notebook_data), 1);
+
+	priv->notebook_charts = glade_xml_get_widget (priv->xml, "notebook_charts");
+	generate_all_charts (GTK_NOTEBOOK (priv->notebook_charts));
+
+	gtk_widget_show_all (GTK_WIDGET (window));
+
+	gtk_main ();
+
+	/* Clean libgoffice stuff */
+	libgoffice_shutdown ();
+	return 0;
+}

Added: trunk/tests/go-demo.glade
==============================================================================
--- (empty file)
+++ trunk/tests/go-demo.glade	Fri Aug 22 03:19:39 2008
@@ -0,0 +1,1409 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
+<!--Generated with glade3 3.4.5 on Thu Aug 21 17:20:22 2008 -->
+<glade-interface>
+  <widget class="GtkWindow" id="GoDemoWindow">
+    <child>
+      <widget class="GtkVBox" id="toplevel">
+        <property name="visible">True</property>
+        <child>
+          <widget class="GtkMenuBar" id="menubar1">
+            <property name="visible">True</property>
+            <child>
+              <widget class="GtkMenuItem" id="menuitem1">
+                <property name="visible">True</property>
+                <property name="label" translatable="yes">_File</property>
+                <property name="use_underline">True</property>
+                <child>
+                  <widget class="GtkMenu" id="menu1">
+                    <property name="visible">True</property>
+                    <child>
+                      <widget class="GtkImageMenuItem" id="menu_item_quit">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">gtk-quit</property>
+                        <property name="use_underline">True</property>
+                        <property name="use_stock">True</property>
+                      </widget>
+                    </child>
+                  </widget>
+                </child>
+              </widget>
+            </child>
+          </widget>
+          <packing>
+            <property name="expand">False</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="GtkVPaned" id="vpaned1">
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="position">550</property>
+            <child>
+              <widget class="GtkNotebook" id="notebook_charts">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="scrollable">True</property>
+              </widget>
+              <packing>
+                <property name="resize">False</property>
+                <property name="shrink">True</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="GtkVBox" id="vbox1">
+                <property name="visible">True</property>
+                <child>
+                  <widget class="GtkHBox" id="hbox21">
+                    <property name="visible">True</property>
+                    <child>
+                      <widget class="GtkLabel" id="label31">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">Click "Regenreate Charts" if you change the data.</property>
+                        <property name="justify">GTK_JUSTIFY_CENTER</property>
+                      </widget>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">False</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <widget class="GtkHButtonBox" id="hbuttonbox1">
+                        <property name="visible">True</property>
+                        <property name="layout_style">GTK_BUTTONBOX_END</property>
+                        <child>
+                          <widget class="GtkButton" id="btn_regen">
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="receives_default">True</property>
+                            <property name="label" translatable="yes">Regenerate Charts</property>
+                            <property name="response_id">0</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="pack_type">GTK_PACK_END</property>
+                          </packing>
+                        </child>
+                      </widget>
+                      <packing>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                  </widget>
+                </child>
+                <child>
+                  <widget class="GtkNotebook" id="notebook_data">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <child>
+                      <widget class="GtkVBox" id="vbox2">
+                        <property name="visible">True</property>
+                        <child>
+                          <widget class="GtkHBox" id="hbox1">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label4">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">1:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkEntry" id="entry_legend_1">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="editable">False</property>
+                                <property name="text" translatable="yes">first</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label5">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">2:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkEntry" id="entry_legend_2">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="editable">False</property>
+                                <property name="text" translatable="yes">second</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox2">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label6">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">3:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkEntry" id="entry_legend_3">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="editable">False</property>
+                                <property name="text" translatable="yes">third</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label7">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">4:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkEntry" id="entry_legend_4">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="editable">False</property>
+                                <property name="text" translatable="yes">fourth</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox3">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label8">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">5:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkEntry" id="entry_legend_5">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="editable">False</property>
+                                <property name="text" translatable="yes">fifth</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label9">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">6:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkEntry" id="entry_legend_6">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="editable">False</property>
+                                <property name="text" translatable="yes">sixth</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">2</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkLabel" id="label64">
+                            <property name="visible">True</property>
+                            <property name="label" translatable="yes">Legends can not be changed</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">3</property>
+                          </packing>
+                        </child>
+                      </widget>
+                    </child>
+                    <child>
+                      <widget class="GtkLabel" id="label10">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">Legends</property>
+                      </widget>
+                      <packing>
+                        <property name="type">tab</property>
+                        <property name="tab_fill">False</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <widget class="GtkVBox" id="vbox3">
+                        <property name="visible">True</property>
+                        <child>
+                          <widget class="GtkHBox" id="hbox4">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label11">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">1:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_value_1">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">10 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label12">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">2:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_value_2">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">20 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox5">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label13">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">3:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_value_3">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">30 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label14">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">4:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_value_4">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">40 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox6">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label15">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">5:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_value_5">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">50 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label16">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">6:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_value_6">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">60 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">2</property>
+                          </packing>
+                        </child>
+                      </widget>
+                      <packing>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <widget class="GtkLabel" id="label17">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">Values</property>
+                      </widget>
+                      <packing>
+                        <property name="type">tab</property>
+                        <property name="position">1</property>
+                        <property name="tab_fill">False</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <widget class="GtkVBox" id="vbox4">
+                        <property name="visible">True</property>
+                        <child>
+                          <widget class="GtkHBox" id="hbox7">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label18">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">1:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_index_1">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">1 0 100 1 10 10</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label19">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">2:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_index_2">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">2 0 100 1 10 10</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox8">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label20">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">3:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_index_3">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">3 0 100 1 10 10</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label21">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">4:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_index_4">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">4 0 100 1 10 10</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox9">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label22">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">5:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_index_5">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">5 0 100 1 10 10</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label23">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">6:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_index_6">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">6 0 100 1 10 10</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">2</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkLabel" id="label35">
+                            <property name="visible">True</property>
+                            <property name="label" translatable="yes">Only used for:
+GogHistogramPlot, GogXYPlot, GogBubblePlot,
+GogXYColorPlot, GogContourPlot, GogSurfacePlot</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">3</property>
+                          </packing>
+                        </child>
+                      </widget>
+                      <packing>
+                        <property name="position">2</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <widget class="GtkLabel" id="label24">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">Indexs</property>
+                      </widget>
+                      <packing>
+                        <property name="type">tab</property>
+                        <property name="position">2</property>
+                        <property name="tab_fill">False</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <widget class="GtkVBox" id="vbox5">
+                        <property name="visible">True</property>
+                        <child>
+                          <widget class="GtkHBox" id="hbox10">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label25">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">1:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_angle_1">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">0 0 360 1 10 10</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label26">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">2:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_angle_2">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">30 0 360 1 10 10</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox11">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label27">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">3:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_angle_3">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">80 0 360 1 10 10</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label28">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">4:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_angle_4">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">180 0 360 1 10 10</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox12">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label29">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">5:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_angle_5">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">250 0 360 1 10 10</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label30">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">6:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_angle_6">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">300 0 360 1 10 10</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">2</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkLabel" id="label36">
+                            <property name="visible">True</property>
+                            <property name="label" translatable="yes">Only used for: GogPolarPlot</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">3</property>
+                          </packing>
+                        </child>
+                      </widget>
+                      <packing>
+                        <property name="position">3</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <widget class="GtkLabel" id="label">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">Angles</property>
+                      </widget>
+                      <packing>
+                        <property name="type">tab</property>
+                        <property name="position">3</property>
+                        <property name="tab_fill">False</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <widget class="GtkVBox" id="vbox6">
+                        <property name="visible">True</property>
+                        <child>
+                          <widget class="GtkHBox" id="hbox13">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label32">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">1:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_start_1">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">1 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label33">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">2:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_start_2">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">2 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox14">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label34">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">3:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_start_3">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">3 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label37">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">4:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_start_4">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">4 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox15">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label38">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">5:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_start_5">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">5 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label39">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">6:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_start_6">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">6 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">2</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkLabel" id="label40">
+                            <property name="visible">True</property>
+                            <property name="label" translatable="yes">Only used for: GogDropBarPlot, GogMinMaxPlot</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">3</property>
+                          </packing>
+                        </child>
+                      </widget>
+                      <packing>
+                        <property name="position">4</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <widget class="GtkLabel" id="label41">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">Starts</property>
+                      </widget>
+                      <packing>
+                        <property name="type">tab</property>
+                        <property name="position">4</property>
+                        <property name="tab_fill">False</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <widget class="GtkVBox" id="vbox7">
+                        <property name="visible">True</property>
+                        <child>
+                          <widget class="GtkHBox" id="hbox16">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label44">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">1:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_1">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">10 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label45">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">2:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_2">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">20 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label46">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">3:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">4</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_3">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">30 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">5</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label47">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">4:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">6</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_4">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">40 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">7</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox17">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label48">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">5:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_5">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">50 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label49">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">6:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_6">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">60 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label50">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">7:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">4</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_7">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">70 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">5</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label51">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">8:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">6</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_8">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">80 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">7</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox18">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label52">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">9:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_9">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">90 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label53">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">10:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_10">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">100 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label54">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">11:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">4</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_11">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">110 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">5</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label55">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">12:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">6</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_12">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">120 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">7</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">2</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox19">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label56">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">13:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_13">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">110 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label57">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">14:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_14">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">120 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label58">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">15:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">4</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_15">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">130 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">5</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label59">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">16:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">6</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_16">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">140 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">7</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">3</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkHBox" id="hbox20">
+                            <property name="visible">True</property>
+                            <child>
+                              <widget class="GtkLabel" id="label60">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">17:</property>
+                              </widget>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_17">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">150 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label61">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">18:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_18">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">160 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">3</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label62">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">19:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">4</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_19">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">170 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">5</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label63">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">20:</property>
+                              </widget>
+                              <packing>
+                                <property name="position">6</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="spb_matrix_20">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="adjustment">180 0 10000 1 10 10</property>
+                                <property name="digits">1</property>
+                              </widget>
+                              <packing>
+                                <property name="position">7</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">4</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkLabel" id="label42">
+                            <property name="visible">True</property>
+                            <property name="label" translatable="yes">Only used for: GogContourPlot, GogSurfacePlot</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                            <property name="position">5</property>
+                          </packing>
+                        </child>
+                      </widget>
+                      <packing>
+                        <property name="position">5</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <widget class="GtkLabel" id="label43">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">Matrix</property>
+                      </widget>
+                      <packing>
+                        <property name="type">tab</property>
+                        <property name="position">5</property>
+                        <property name="tab_fill">False</property>
+                      </packing>
+                    </child>
+                  </widget>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">False</property>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+              </widget>
+              <packing>
+                <property name="resize">True</property>
+                <property name="shrink">True</property>
+              </packing>
+            </child>
+          </widget>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+      </widget>
+    </child>
+  </widget>
+</glade-interface>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]