public static void HelloGtk() { Gtk.Application.Init(); Gtk.Window window = new Gtk.Window("Hello World"); window.DeleteEvent += (sender, args) => { Application.Quit(); }; window.Show(); Gtk.Application.Run(); window.Close(); }