+ control_flow_data->hbox = gtk_hbox_new(FALSE, 1);
+ control_flow_data->toolbar = gtk_toolbar_new();
+ gtk_toolbar_set_orientation(GTK_TOOLBAR(control_flow_data->toolbar),
+ GTK_ORIENTATION_VERTICAL);
+
+ tmp_toolbar_icon = create_pixmap (main_window_get_widget(tab),
+ "guifilter16x16.png");
+ gtk_widget_show(tmp_toolbar_icon);
+ control_flow_data->button_filter = gtk_tool_button_new(tmp_toolbar_icon,
+ "Filter");
+ g_signal_connect (G_OBJECT(control_flow_data->button_filter),
+ "clicked",
+ G_CALLBACK (filter_button),
+ (gpointer)plugin_cfv);
+ gtk_toolbar_insert(GTK_TOOLBAR(control_flow_data->toolbar),
+ control_flow_data->button_filter,
+ 0);
+ gtk_tool_item_set_tooltip(GTK_TOOL_ITEM(control_flow_data->button_filter),
+ tooltips, "Open the filter window", NULL);
+
+ tmp_toolbar_icon = create_pixmap (main_window_get_widget(tab),
+ "properties.png");
+ gtk_widget_show(tmp_toolbar_icon);
+ control_flow_data->button_prop = gtk_tool_button_new(tmp_toolbar_icon,
+ "Properties");
+ g_signal_connect (G_OBJECT(control_flow_data->button_prop),
+ "clicked",
+ G_CALLBACK (property_button),
+ (gpointer)control_flow_data);
+ gtk_toolbar_insert(GTK_TOOLBAR(control_flow_data->toolbar),
+ control_flow_data->button_prop,
+ 1);
+
+ tmp_toolbar_icon = create_pixmap (main_window_get_widget(tab),
+ "qmark.png");
+ gtk_widget_show(tmp_toolbar_icon);
+ control_flow_data->button_legend = gtk_tool_button_new(tmp_toolbar_icon,
+ "Legend");
+ g_signal_connect (G_OBJECT(control_flow_data->button_legend),
+ "clicked",
+ G_CALLBACK (legend_button),
+ (gpointer)plugin_cfv);
+ gtk_toolbar_insert(GTK_TOOLBAR(control_flow_data->toolbar),
+ control_flow_data->button_legend,
+ 0);
+ gtk_tool_item_set_tooltip(GTK_TOOL_ITEM(control_flow_data->button_legend),
+ tooltips, "Show the legend", NULL);
+
+ gtk_toolbar_set_style(GTK_TOOLBAR(control_flow_data->toolbar),
+ GTK_TOOLBAR_ICONS);
+
+ gtk_box_pack_start(GTK_BOX(control_flow_data->hbox),
+ control_flow_data->toolbar,
+ FALSE, FALSE, 0);