GtkSharp/Source/Addins/MonoDevelop.GtkSharp.Addin/Templates/File/Data/Widget.cs
Harry 5f3d138d1a Add base gtk# md addin (#8)
* Base Gtk# MD Addin

* Fix tabs
2017-09-23 11:38:43 -03:00

16 lines
399 B
C#

using System;
using Gtk;
using UI = Gtk.Builder.ObjectAttribute;
namespace ${Namespace}
{
public class ${EscapedIdentifier} : Box
{
public ${EscapedIdentifier}() : this(new Builder("${Namespace}.${EscapedIdentifier}.glade")) { }
private ${EscapedIdentifier}(Builder builder) : base(builder.GetObject("${EscapedIdentifier}").Handle)
{
}
}
}