Files
@ d792b40d3ef9
Branch filter:
Location: ATITD-Tools/Desert-Paint-Lab/gtk-gui/DesertPaintLab.ReactionStatusWindow.cs - annotation
d792b40d3ef9
3.9 KiB
text/x-csharp
Disabling the capture button then re-updating the ingredients to fix button states was having the side effect of clearing the reacted color swatch. That was done to re-enable UI elements that were disabled during recording. Now enabling them explicitly to fix the problem.
f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb |
// This file has been generated by the GUI designer. Do not modify.
namespace DesertPaintLab
{
public partial class ReactionStatusWindow
{
private global::Gtk.HBox hbox1;
private global::Gtk.Frame ingredientFrame;
private global::Gtk.Alignment ingredientAlignment;
private global::Gtk.ScrolledWindow scrolledwindow2;
private global::Gtk.TreeView reagentListView;
private global::Gtk.Label GtkLabel4;
private global::Gtk.ScrolledWindow scroller;
private global::Gtk.VBox resultbox;
protected virtual void Build ()
{
global::Stetic.Gui.Initialize (this);
// Widget DesertPaintLab.ReactionStatusWindow
this.Name = "DesertPaintLab.ReactionStatusWindow";
this.Title = "Reaction Status";
this.WindowPosition = ((global::Gtk.WindowPosition)(4));
this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6;
// Reagent list
// Container child vbox8.Gtk.Box+BoxChild
this.ingredientFrame = new global::Gtk.Frame();
this.ingredientFrame.Name = "frame3";
this.ingredientFrame.ShadowType = ((global::Gtk.ShadowType)(0));
// Container child ingredientFrame.Gtk.Container+ContainerChild
this.ingredientAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
this.ingredientAlignment.Name = "GtkAlignment1";
this.ingredientAlignment.LeftPadding = ((uint)(12));
// Container child GtkAlignment1.Gtk.Container+ContainerChild
this.scrolledwindow2 = new global::Gtk.ScrolledWindow();
this.scrolledwindow2.CanFocus = true;
this.scrolledwindow2.Name = "scrolledwindow2";
this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child scrolledwindow2.Gtk.Container+ContainerChild
this.reagentListView = new global::Gtk.TreeView();
this.reagentListView.WidthRequest = 240;
this.reagentListView.CanFocus = true;
this.reagentListView.Name = "reagentListView";
this.scrolledwindow2.Add(this.reagentListView);
this.ingredientAlignment.Add(this.scrolledwindow2);
this.ingredientFrame.Add(this.ingredientAlignment);
this.GtkLabel4 = new global::Gtk.Label();
this.GtkLabel4.Name = "GtkLabel4";
this.GtkLabel4.LabelProp = "<b>Ingredients</b>";
this.GtkLabel4.UseMarkup = true;
this.ingredientFrame.LabelWidget = this.GtkLabel4;
this.hbox1.Add(this.ingredientFrame);
global::Gtk.Box.BoxChild w0 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ingredientFrame]));
w0.Expand = false;
w0.Fill = true;
w0.Position = 0;
// Container child DesertPaintLab.ReactionStatusWindow.Gtk.Container+ContainerChild
this.scroller = new global::Gtk.ScrolledWindow ();
this.scroller.WidthRequest = 300;
this.scroller.CanFocus = true;
this.scroller.Name = "scroller";
this.scroller.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child scroller.Gtk.Container+ContainerChild
global::Gtk.Viewport w1 = new global::Gtk.Viewport ();
w1.ShadowType = ((global::Gtk.ShadowType)(0));
// Container child GtkViewport.Gtk.Container+ContainerChild
this.resultbox = new global::Gtk.VBox ();
this.resultbox.Name = "resultbox";
this.resultbox.Spacing = 6;
w1.Add (this.resultbox);
this.scroller.Add (w1);
this.hbox1.Add(this.scroller);
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.scroller]));
w2.Expand = true;
w2.Fill = true;
w2.Position = 1;
this.Add(this.hbox1);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
this.DefaultWidth = 400;
this.DefaultHeight = 300;
this.Show ();
}
}
}
|