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

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