* Corrected small things to make Circ-git compile from within MonoDevelop
[circ.git] / Circ.Frontend.GtkSharp / gtk-gui / Circ.Frontend.GtkSharp.MainWindow.cs
blob34aff15872da91c452b71cd78f49f311c4bed372
1 // ------------------------------------------------------------------------------
2 // <autogenerated>
3 // This code was generated by a tool.
4 // Mono Runtime Version: 2.0.50727.42
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </autogenerated>
9 // ------------------------------------------------------------------------------
11 namespace Circ.Frontend.GtkSharp {
14 public partial class MainWindow {
16 private Gtk.Action File;
18 private Gtk.Action Edit;
20 private Gtk.Action Help;
22 private Gtk.Action Propos;
24 private Gtk.Action Quitter;
26 private Gtk.Action Addins;
28 private Gtk.VBox MainVBox;
30 private Gtk.MenuBar menubar1;
32 private Gtk.EventBox evtBox;
34 private Gtk.Notebook serverContainer;
36 private Gtk.HBox hbox1;
38 private Gtk.Label nickLabel;
40 private Gtk.Entry chatEntry;
42 protected virtual void Build() {
43 Stetic.Gui.Initialize();
44 // Widget Circ.Frontend.GtkSharp.MainWindow
45 Gtk.UIManager w1 = new Gtk.UIManager();
46 Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
47 this.File = new Gtk.Action("File", Mono.Unix.Catalog.GetString("_File"), null, null);
48 this.File.ShortLabel = "_File";
49 w2.Add(this.File, null);
50 this.Edit = new Gtk.Action("Edit", Mono.Unix.Catalog.GetString("_Edit"), null, null);
51 this.Edit.ShortLabel = "_Edit";
52 w2.Add(this.Edit, null);
53 this.Help = new Gtk.Action("Help", Mono.Unix.Catalog.GetString("_Help"), null, null);
54 this.Help.ShortLabel = "_Help";
55 w2.Add(this.Help, null);
56 this.Propos = new Gtk.Action("Propos", Mono.Unix.Catalog.GetString("À _propos"), null, "gtk-about");
57 this.Propos.ShortLabel = "À _propos";
58 w2.Add(this.Propos, null);
59 this.Quitter = new Gtk.Action("Quitter", Mono.Unix.Catalog.GetString("_Quitter"), null, "gtk-quit");
60 this.Quitter.ShortLabel = "_Quitter";
61 w2.Add(this.Quitter, null);
62 this.Addins = new Gtk.Action("Addins", Mono.Unix.Catalog.GetString("Addins..."), null, null);
63 this.Addins.ShortLabel = Mono.Unix.Catalog.GetString("Addins...");
64 w2.Add(this.Addins, null);
65 w1.InsertActionGroup(w2, 0);
66 this.AddAccelGroup(w1.AccelGroup);
67 this.Name = "Circ.Frontend.GtkSharp.MainWindow";
68 this.Title = Mono.Unix.Catalog.GetString("Circ");
69 this.Icon = Gdk.Pixbuf.LoadFromResource("circ_small.png");
70 this.AllowShrink = true;
71 this.DefaultWidth = 800;
72 this.DefaultHeight = 600;
73 // Container child Circ.Frontend.GtkSharp.MainWindow.Gtk.Container+ContainerChild
74 this.MainVBox = new Gtk.VBox();
75 this.MainVBox.Name = "MainVBox";
76 this.MainVBox.Spacing = 3;
77 // Container child MainVBox.Gtk.Box+BoxChild
78 w1.AddUiFromString("<ui><menubar name='menubar1'><menu action='File'><menuitem action='Quitter'/></menu><menu action='Edit'><menuitem action='Addins'/></menu><menu action='Help'><menuitem action='Propos'/></menu></menubar></ui>");
79 this.menubar1 = ((Gtk.MenuBar)(w1.GetWidget("/menubar1")));
80 this.menubar1.Name = "menubar1";
81 this.MainVBox.Add(this.menubar1);
82 Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.MainVBox[this.menubar1]));
83 w3.Position = 0;
84 w3.Expand = false;
85 w3.Fill = false;
86 // Container child MainVBox.Gtk.Box+BoxChild
87 this.evtBox = new Gtk.EventBox();
88 this.evtBox.Name = "evtBox";
89 // Container child evtBox.Gtk.Container+ContainerChild
90 this.serverContainer = new Gtk.Notebook();
91 this.serverContainer.Name = "serverContainer";
92 this.serverContainer.CurrentPage = 0;
93 this.evtBox.Add(this.serverContainer);
94 this.MainVBox.Add(this.evtBox);
95 Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.MainVBox[this.evtBox]));
96 w5.Position = 1;
97 // Container child MainVBox.Gtk.Box+BoxChild
98 this.hbox1 = new Gtk.HBox();
99 this.hbox1.Name = "hbox1";
100 this.hbox1.BorderWidth = ((uint)(3));
101 // Container child hbox1.Gtk.Box+BoxChild
102 this.nickLabel = new Gtk.Label();
103 this.nickLabel.Name = "nickLabel";
104 this.nickLabel.LabelProp = Mono.Unix.Catalog.GetString("(null) : ");
105 this.hbox1.Add(this.nickLabel);
106 Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.nickLabel]));
107 w6.Position = 0;
108 w6.Expand = false;
109 w6.Fill = false;
110 // Container child hbox1.Gtk.Box+BoxChild
111 this.chatEntry = new Gtk.Entry();
112 this.chatEntry.Name = "chatEntry";
113 this.chatEntry.IsEditable = true;
114 this.chatEntry.InvisibleChar = '●';
115 this.hbox1.Add(this.chatEntry);
116 Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox1[this.chatEntry]));
117 w7.Position = 1;
118 this.MainVBox.Add(this.hbox1);
119 Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.MainVBox[this.hbox1]));
120 w8.Position = 2;
121 w8.Expand = false;
122 w8.Fill = false;
123 this.Add(this.MainVBox);
124 if ((this.Child != null)) {
125 this.Child.ShowAll();
127 this.Show();
128 this.Propos.Activated += new System.EventHandler(this.About_Clicked);
129 this.Quitter.Activated += new System.EventHandler(this.OnDeleteEvt);
130 this.Addins.Activated += new System.EventHandler(this.OnAddinsManager);