mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 17:25:32 +00:00
14 lines
383 B
Forth
14 lines
383 B
Forth
namespace ${Namespace}
|
|
|
|
open Gtk
|
|
|
|
type ${EscapedIdentifier} (builder : Builder) as this =
|
|
inherit Dialog(builder.GetObject("${EscapedIdentifier}").Handle)
|
|
do
|
|
this.DefaultResponse <- ResponseType.Cancel;
|
|
this.Response.Add(fun _ ->
|
|
this.Hide();
|
|
)
|
|
|
|
new() = new ${EscapedIdentifier}(new Builder("${Namespace}.${EscapedIdentifier}.glade"))
|