60376ae510
* feat: GtkSharp net6 workload * feat(Workload): GtkSharp template packs * chore: Support .NET SDK 6.0.300 And also changed the build script to target SDK bands. * build: Workload install and uninstall targets
18 lines
397 B
Forth
18 lines
397 B
Forth
namespace GtkNamespace
|
|
module Program =
|
|
|
|
open Gtk
|
|
|
|
[<EntryPoint>]
|
|
let main argv =
|
|
Application.Init()
|
|
|
|
let app = new Application("org.GtkNamespace.GtkNamespace", GLib.ApplicationFlags.None)
|
|
app.Register(GLib.Cancellable.Current) |> ignore;
|
|
|
|
let win = new MainWindow()
|
|
app.AddWindow(win)
|
|
|
|
win.Show()
|
|
Application.Run()
|
|
0
|