Added 'Create Document' dialog to GTK interface

This commit is contained in:
Michael Becker 2014-07-08 00:52:12 -04:00
parent 1d26099a06
commit 99ed3c23e2

View File

@ -1,22 +1,89 @@
// This file has been generated by the GUI designer. Do not modify.
namespace UniversalEditor.Engines.GTK.Dialogs
{
public partial class CreateDocumentDialog
{
private Gtk.Button buttonCancel;
private Gtk.Button buttonOk;
private Gtk.TreeView tvDocumentTypes;
private Gtk.IconView lvDocumentTemplates;
private global::Gtk.HPaned hpaned1;
private global::Gtk.ScrolledWindow GtkScrolledWindow;
private global::Gtk.TreeView tvDocumentTypes;
private global::Gtk.IconView lvDocumentTemplates;
private global::Gtk.Button buttonCancel;
private global::Gtk.Button buttonOk;
protected virtual void Build ()
{
global::Stetic.Gui.Initialize (this);
// Widget UniversalEditor.Engines.GTK.Dialogs.CreateDocumentDialog
this.UIManager = new global::Gtk.UIManager ();
this.buttonCancel = ((global::Gtk.Button)(this.UIManager.GetWidget ("/buttonCancel")));
this.buttonOk = ((global::Gtk.Button)(this.UIManager.GetWidget ("/buttonOk")));
this.tvDocumentTypes = ((global::Gtk.TreeView)(this.UIManager.GetWidget ("/tvDocumentTypes")));
this.lvDocumentTemplates = ((global::Gtk.IconView)(this.UIManager.GetWidget ("/lvDocumentTemplates")));
this.Name = "UniversalEditor.Engines.GTK.Dialogs.CreateDocumentDialog";
this.Title = global::Mono.Unix.Catalog.GetString ("Create Document");
this.WindowPosition = ((global::Gtk.WindowPosition)(4));
// Internal child UniversalEditor.Engines.GTK.Dialogs.CreateDocumentDialog.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 = 154;
// 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.tvDocumentTypes = new global::Gtk.TreeView ();
this.tvDocumentTypes.CanFocus = true;
this.tvDocumentTypes.Name = "tvDocumentTypes";
this.GtkScrolledWindow.Add (this.tvDocumentTypes);
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.lvDocumentTemplates = new global::Gtk.IconView ();
this.lvDocumentTemplates.CanFocus = true;
this.lvDocumentTemplates.Name = "lvDocumentTemplates";
this.hpaned1.Add (this.lvDocumentTemplates);
w1.Add (this.hpaned1);
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1]));
w5.Position = 0;
// Internal child UniversalEditor.Engines.GTK.Dialogs.CreateDocumentDialog.ActionArea
global::Gtk.HButtonBox w6 = this.ActionArea;
w6.Name = "dialog1_ActionArea";
w6.Spacing = 10;
w6.BorderWidth = ((uint)(5));
w6.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonCancel = new global::Gtk.Button ();
this.buttonCancel.CanDefault = true;
this.buttonCancel.CanFocus = true;
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.UseStock = true;
this.buttonCancel.UseUnderline = true;
this.buttonCancel.Label = "gtk-cancel";
this.AddActionWidget (this.buttonCancel, -6);
global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonCancel]));
w7.Expand = false;
w7.Fill = false;
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonOk = new global::Gtk.Button ();
this.buttonOk.CanDefault = true;
this.buttonOk.CanFocus = true;
this.buttonOk.Name = "buttonOk";
this.buttonOk.UseStock = true;
this.buttonOk.UseUnderline = true;
this.buttonOk.Label = "gtk-ok";
this.AddActionWidget (this.buttonOk, -5);
global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonOk]));
w8.Position = 1;
w8.Expand = false;
w8.Fill = false;
if ((this.Child != null)) {
this.Child.ShowAll ();
}
this.DefaultWidth = 400;
this.DefaultHeight = 300;
this.Show ();
}
}
}