protected virtual void OnComboVisualizersChanged (object sender, System.EventArgs e)
		{
			if (currentWidget != null)
				mainBox.Remove (currentWidget);
			if (comboVisualizers.Active == -1) {
				buttonOk.Sensitive = false;
				return;
			}
			buttonOk.Sensitive = true;
			currentVisualizer = visualizers [comboVisualizers.Active];
			currentWidget = currentVisualizer.GetVisualizerWidget (value);
			mainBox.PackStart (currentWidget, true, true, 0);
			currentWidget.Show ();
		}
 protected virtual void OnComboVisualizersChanged(object sender, System.EventArgs e)
 {
     if (currentWidget != null)
     {
         mainBox.Remove(currentWidget);
     }
     if (comboVisualizers.Active == -1)
     {
         buttonOk.Sensitive = false;
         return;
     }
     buttonOk.Sensitive = true;
     currentVisualizer  = visualizers [comboVisualizers.Active];
     currentWidget      = currentVisualizer.GetVisualizerWidget(value);
     mainBox.PackStart(currentWidget, true, true, 0);
     currentWidget.Show();
 }
Beispiel #3
0
 public override Gtk.Widget GetVisualizerWidget(ObjectValue val)
 {
     return(wrapped.GetVisualizerWidget(val));
 }