Cosmetic change, plugin work, various reaorganization (Frontend, Control, CilBackend)
[circ.git] / Circ.Frontend.GtkSharp / gtk-gui / Circ.Frontend.GtkSharp.MainWindow.cs
blob21f44eceaf22c2850b6513553134ac43bd23e346
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 Connection;
28 private Gtk.VBox MainVBox;
30 private Gtk.MenuBar menubar1;
32 private Gtk.Notebook serverContainer;
34 private Gtk.HBox hbox1;
36 private Gtk.Label nickLabel;
38 private Gtk.Entry chatEntry;
40 protected virtual void Build() {
41 Stetic.Gui.Initialize();
42 // Widget Circ.Frontend.GtkSharp.MainWindow
43 Gtk.UIManager w1 = new Gtk.UIManager();
44 Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
45 this.File = new Gtk.Action("File", Mono.Unix.Catalog.GetString("_File"), null, null);
46 this.File.ShortLabel = "_File";
47 w2.Add(this.File, null);
48 this.Edit = new Gtk.Action("Edit", Mono.Unix.Catalog.GetString("_Edit"), null, null);
49 this.Edit.ShortLabel = "_Edit";
50 w2.Add(this.Edit, null);
51 this.Help = new Gtk.Action("Help", Mono.Unix.Catalog.GetString("_Help"), null, null);
52 this.Help.ShortLabel = "_Help";
53 w2.Add(this.Help, null);
54 this.Propos = new Gtk.Action("Propos", Mono.Unix.Catalog.GetString("À _propos"), null, "gtk-about");
55 this.Propos.ShortLabel = "À _propos";
56 w2.Add(this.Propos, null);
57 this.Quitter = new Gtk.Action("Quitter", Mono.Unix.Catalog.GetString("_Quitter"), null, "gtk-quit");
58 this.Quitter.ShortLabel = "_Quitter";
59 w2.Add(this.Quitter, null);
60 this.Connection = new Gtk.Action("Connection", Mono.Unix.Catalog.GetString("Connection..."), null, null);
61 this.Connection.ShortLabel = "Connection...";
62 w2.Add(this.Connection, null);
63 w1.InsertActionGroup(w2, 0);
64 this.AddAccelGroup(w1.AccelGroup);
65 this.Name = "Circ.Frontend.GtkSharp.MainWindow";
66 this.Title = Mono.Unix.Catalog.GetString("Monologue");
67 this.Icon = Gdk.Pixbuf.LoadFromResource("chat_small.png");
68 this.AllowShrink = true;
69 this.DefaultWidth = 800;
70 this.DefaultHeight = 600;
71 // Container child Circ.Frontend.GtkSharp.MainWindow.Gtk.Container+ContainerChild
72 this.MainVBox = new Gtk.VBox();
73 this.MainVBox.Name = "MainVBox";
74 this.MainVBox.Spacing = 3;
75 // Container child MainVBox.Gtk.Box+BoxChild
76 w1.AddUiFromString("<ui><menubar name='menubar1'><menu action='File'><menuitem action='Connection'/><menuitem action='Quitter'/></menu><menu action='Edit'/><menu action='Help'><menuitem action='Propos'/></menu></menubar></ui>");
77 this.menubar1 = ((Gtk.MenuBar)(w1.GetWidget("/menubar1")));
78 this.menubar1.Name = "menubar1";
79 this.MainVBox.Add(this.menubar1);
80 Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.MainVBox[this.menubar1]));
81 w3.Position = 0;
82 w3.Expand = false;
83 w3.Fill = false;
84 // Container child MainVBox.Gtk.Box+BoxChild
85 this.serverContainer = new Gtk.Notebook();
86 this.serverContainer.CanFocus = true;
87 this.serverContainer.Name = "serverContainer";
88 this.MainVBox.Add(this.serverContainer);
89 Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.MainVBox[this.serverContainer]));
90 w4.Position = 1;
91 // Container child MainVBox.Gtk.Box+BoxChild
92 this.hbox1 = new Gtk.HBox();
93 this.hbox1.Name = "hbox1";
94 // Container child hbox1.Gtk.Box+BoxChild
95 this.nickLabel = new Gtk.Label();
96 this.nickLabel.Name = "nickLabel";
97 this.nickLabel.LabelProp = Mono.Unix.Catalog.GetString("Your Nick : ");
98 this.hbox1.Add(this.nickLabel);
99 Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.nickLabel]));
100 w5.Position = 0;
101 w5.Expand = false;
102 w5.Fill = false;
103 // Container child hbox1.Gtk.Box+BoxChild
104 this.chatEntry = new Gtk.Entry();
105 this.chatEntry.CanFocus = true;
106 this.chatEntry.Name = "chatEntry";
107 this.chatEntry.IsEditable = true;
108 this.chatEntry.InvisibleChar = '●';
109 this.hbox1.Add(this.chatEntry);
110 Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.chatEntry]));
111 w6.Position = 1;
112 this.MainVBox.Add(this.hbox1);
113 Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.MainVBox[this.hbox1]));
114 w7.Position = 2;
115 w7.Expand = false;
116 w7.Fill = false;
117 this.Add(this.MainVBox);
118 if ((this.Child != null)) {
119 this.Child.ShowAll();
121 this.Show();
122 this.Propos.Activated += new System.EventHandler(this.About_Clicked);
123 this.Quitter.Activated += new System.EventHandler(this.OnDeleteEvt);
124 this.Connection.Activated += new System.EventHandler(this.ConnectionActivatedHandler);