GtkSharp/Source/Addins/MonoDevelop.GtkSharp.Addin/Templates/File/Data/Widget.cs
2017-10-23 01:25:13 +02:00

16 lines
399 B
C#
Executable file

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)
{
}
}
}