Exemple #1
0
 public void TkMain(TclAppInitProc initProc, string[] argv) {
     TclAppInitProcWrapper initWrapper = new TclAppInitProcWrapper(this, initProc);
     
     unsafe {               
         TkNative.Tk_MainEx(argv.Length, argv, initWrapper.Callback, _interp);
     }
     
     GC.KeepAlive(initWrapper);
     GC.KeepAlive(this);
 }
        public void TkMain(TclAppInitProc initProc, string[] argv)
        {
            TclAppInitProcWrapper initWrapper = new TclAppInitProcWrapper(this, initProc);

            unsafe {
                TkNative.Tk_MainEx(argv.Length, argv, initWrapper.Callback, _interp);
            }

            GC.KeepAlive(initWrapper);
            GC.KeepAlive(this);
        }