2017-09-23 14:38:43 +00:00
|
|
|
using System;
|
|
|
|
using Gtk;
|
|
|
|
|
2017-10-26 17:49:21 +00:00
|
|
|
namespace GtkNamespace
|
2017-09-23 14:38:43 +00:00
|
|
|
{
|
|
|
|
class Program
|
|
|
|
{
|
|
|
|
[STAThread]
|
|
|
|
public static void Main(string[] args)
|
|
|
|
{
|
|
|
|
Application.Init();
|
|
|
|
|
2017-10-26 17:49:21 +00:00
|
|
|
var app = new Application("org.GtkNamespace.GtkNamespace", GLib.ApplicationFlags.None);
|
2017-09-23 14:38:43 +00:00
|
|
|
app.Register(GLib.Cancellable.Current);
|
|
|
|
|
|
|
|
var win = new MainWindow();
|
|
|
|
app.AddWindow(win);
|
|
|
|
|
|
|
|
win.Show();
|
|
|
|
Application.Run();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|