GtkSharp/Source/Templates/GtkSharp.Template.CSharp/content/GtkSharp.Window.CSharp/Gtk_Window.cs

17 lines
358 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
{
class Gtk_Window : Window
{
public Gtk_Window() : this(new Builder("Gtk_Window.glade")) { }
private Gtk_Window(Builder builder) : base(builder.GetObject("Gtk_Window").Handle)
{
builder.Autoconnect(this);
}
}
}