mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-03-05 19:59:41 +00:00
14 lines
331 B
Forth
14 lines
331 B
Forth
|
namespace GtkNamespace
|
||
|
|
||
|
open Gtk
|
||
|
|
||
|
type Gtk_Dialog (builder : Builder) as this =
|
||
|
inherit Dialog(builder.GetRawOwnedObject("Gtk_Dialog"))
|
||
|
do
|
||
|
this.DefaultResponse <- ResponseType.Cancel;
|
||
|
this.Response.Add(fun _ ->
|
||
|
this.Hide();
|
||
|
)
|
||
|
|
||
|
new() = new Gtk_Dialog(new Builder("Gtk_Dialog.glade"))
|