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

17 lines
363 B
C#
Raw Normal View History

2017-11-02 16:12:15 +00:00
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.GetRawOwnedObject("Gtk_Widget"))
2017-11-02 16:12:15 +00:00
{
2017-11-02 21:13:53 +00:00
builder.Autoconnect(this);
2017-11-02 16:12:15 +00:00
}
}
}