示例#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);
        }
示例#2
0
 public void TkInit()
 {
     unsafe {
         HandleError(TkNative.Tk_Init(_interp));
     }
 }