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

17 lines
359 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.GetRawOwnedObject("Gtk_Window"))
2017-11-02 16:12:15 +00:00
{
builder.Autoconnect(this);
}
}
}