view gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmPreferences.cs @ 143:aca4623b7bdf

Re #344: Show unit requirement failures * Hide warning widget by default
author IBBoard <dev@ibboard.co.uk>
date Wed, 19 Oct 2011 20:35:31 +0100
parents b4416ca69153
children 135491fd1830
line wrap: on
line source


// This file has been generated by the GUI designer. Do not modify.
namespace IBBoard.WarFoundry.GUI.GTK
{
	public partial class FrmPreferences
	{
		private global::Gtk.HPaned hpaned1;
		private global::Gtk.ScrolledWindow GtkScrolledWindow;
		private global::Gtk.TreeView preferencesTree;
		private global::Gtk.Frame prefsFrame;
		private global::Gtk.Alignment GtkAlignment2;
		private global::Gtk.Table table1;
		private global::Gtk.ComboBox languageList;
		private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblLanguage;
		private global::Gtk.Label frameLabel;
		private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel;
		private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnOkay;

		protected virtual void Build()
		{
			global::Stetic.Gui.Initialize(this);
			// Widget IBBoard.WarFoundry.GUI.GTK.FrmPreferences
			this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmPreferences";
			this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			this.SkipPagerHint = true;
			this.SkipTaskbarHint = true;
			// Internal child IBBoard.WarFoundry.GUI.GTK.FrmPreferences.VBox
			global::Gtk.VBox w1 = this.VBox;
			w1.Name = "dialog1_VBox";
			w1.BorderWidth = ((uint)(2));
			// Container child dialog1_VBox.Gtk.Box+BoxChild
			this.hpaned1 = new global::Gtk.HPaned();
			this.hpaned1.CanFocus = true;
			this.hpaned1.Name = "hpaned1";
			this.hpaned1.Position = 164;
			// Container child hpaned1.Gtk.Paned+PanedChild
			this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
			this.GtkScrolledWindow.Name = "GtkScrolledWindow";
			this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
			this.preferencesTree = new global::Gtk.TreeView();
			this.preferencesTree.CanFocus = true;
			this.preferencesTree.Name = "preferencesTree";
			this.preferencesTree.HeadersVisible = false;
			this.GtkScrolledWindow.Add(this.preferencesTree);
			this.hpaned1.Add(this.GtkScrolledWindow);
			global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.GtkScrolledWindow]));
			w3.Resize = false;
			// Container child hpaned1.Gtk.Paned+PanedChild
			this.prefsFrame = new global::Gtk.Frame();
			this.prefsFrame.Name = "prefsFrame";
			this.prefsFrame.ShadowType = ((global::Gtk.ShadowType)(1));
			this.prefsFrame.BorderWidth = ((uint)(2));
			// Container child prefsFrame.Gtk.Container+ContainerChild
			this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
			this.GtkAlignment2.Name = "GtkAlignment2";
			this.GtkAlignment2.LeftPadding = ((uint)(12));
			// Container child GtkAlignment2.Gtk.Container+ContainerChild
			this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
			this.table1.Name = "table1";
			this.table1.RowSpacing = ((uint)(6));
			this.table1.ColumnSpacing = ((uint)(6));
			// Container child table1.Gtk.Table+TableChild
			this.languageList = global::Gtk.ComboBox.NewText();
			this.languageList.Name = "languageList";
			this.table1.Add(this.languageList);
			global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.languageList]));
			w4.LeftAttach = ((uint)(1));
			w4.RightAttach = ((uint)(2));
			w4.XOptions = ((global::Gtk.AttachOptions)(4));
			w4.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.lblLanguage = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
			this.lblLanguage.Name = "lblLanguage";
			this.lblLanguage.LabelProp = global::Mono.Unix.Catalog.GetString("language:");
			this.table1.Add(this.lblLanguage);
			global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.lblLanguage]));
			w5.XOptions = ((global::Gtk.AttachOptions)(4));
			w5.YOptions = ((global::Gtk.AttachOptions)(4));
			this.GtkAlignment2.Add(this.table1);
			this.prefsFrame.Add(this.GtkAlignment2);
			this.frameLabel = new global::Gtk.Label();
			this.frameLabel.Name = "frameLabel";
			this.frameLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>language</b>");
			this.frameLabel.UseMarkup = true;
			this.prefsFrame.LabelWidget = this.frameLabel;
			this.hpaned1.Add(this.prefsFrame);
			w1.Add(this.hpaned1);
			global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1[this.hpaned1]));
			w9.Position = 0;
			// Internal child IBBoard.WarFoundry.GUI.GTK.FrmPreferences.ActionArea
			global::Gtk.HButtonBox w10 = this.ActionArea;
			w10.Name = "dialog1_ActionArea";
			w10.Spacing = 10;
			w10.BorderWidth = ((uint)(5));
			w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton();
			this.bttnCancel.CanDefault = true;
			this.bttnCancel.CanFocus = true;
			this.bttnCancel.Name = "bttnCancel";
			this.bttnCancel.UseStock = true;
			this.bttnCancel.UseUnderline = true;
			this.bttnCancel.Label = "gtk-cancel";
			this.AddActionWidget(this.bttnCancel, -6);
			global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10[this.bttnCancel]));
			w11.Expand = false;
			w11.Fill = false;
			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton();
			this.bttnOkay.CanDefault = true;
			this.bttnOkay.CanFocus = true;
			this.bttnOkay.Name = "bttnOkay";
			this.bttnOkay.UseStock = true;
			this.bttnOkay.UseUnderline = true;
			this.bttnOkay.Label = "gtk-ok";
			this.AddActionWidget(this.bttnOkay, -5);
			global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10[this.bttnOkay]));
			w12.Position = 1;
			w12.Expand = false;
			w12.Fill = false;
			if ((this.Child != null))
			{
				this.Child.ShowAll();
			}
			this.DefaultWidth = 400;
			this.DefaultHeight = 300;
			this.Show();
			this.languageList.Changed += new global::System.EventHandler(this.languageListChanged);
			this.bttnCancel.Clicked += new global::System.EventHandler(this.bttnCancelClicked);
			this.bttnOkay.Clicked += new global::System.EventHandler(this.bttnOkayClicked);
		}
	}
}