Added 'Create Document' dialog to GTK interface
This commit is contained in:
parent
eaa2a2f303
commit
ee2354e9ca
@ -6,6 +6,7 @@ namespace UniversalEditor.Engines.GTK.Dialogs
|
||||
public CreateDocumentDialog ()
|
||||
{
|
||||
this.Build ();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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")));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user