Added 'Create Document' dialog to GTK interface

This commit is contained in:
Michael Becker 2014-07-08 00:48:49 -04:00
parent eaa2a2f303
commit ee2354e9ca
2 changed files with 15 additions and 1 deletions

View File

@ -6,6 +6,7 @@ namespace UniversalEditor.Engines.GTK.Dialogs
public CreateDocumentDialog ()
{
this.Build ();
}
}
}

View File

@ -1,9 +1,22 @@
namespace UniversalEditor.Engines.GTK
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;
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")));
}
}
}