Exemple #1
0
        static void Main(string[] args)
        {
            var app = Application.@new("org.gtk.example", Gio.ApplicationFlags.flags_none);

            g_signal_connect_data(app, "activate", Marshal.GetFunctionPointerForDelegate(activateDelegate), IntPtr.Zero, IntPtr.Zero, 0);
            app.run(0, IntPtr.Zero);
            app.unref();
        }