mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 08:23:19 +02:00
17 lines
421 B
C#
17 lines
421 B
C#
![]() |
using System;
|
||
|
using Gtk;
|
||
|
using UI = Gtk.Builder.ObjectAttribute;
|
||
|
|
||
|
namespace ${Namespace}
|
||
|
{
|
||
|
class ${EscapedIdentifier} : Window
|
||
|
{
|
||
|
public ${EscapedIdentifier}() : this(new Builder("${Namespace}.${EscapedIdentifier}.glade")) { }
|
||
|
|
||
|
private ${EscapedIdentifier}(Builder builder) : base(builder.GetObject("${EscapedIdentifier}").Handle)
|
||
|
{
|
||
|
builder.Autoconnect(this);
|
||
|
}
|
||
|
}
|
||
|
}
|