GtkSharp/Source/Templates/GtkSharp.Template.CSharp/content/GtkSharp.Widget.CSharp/Gtk_Widget.cs

16 lines
362 B
C#

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