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); }
internal TclAppInitProcWrapper(TclInterp interp, TclAppInitProc proc) { _interp = interp; _proc = proc; unsafe { _callback = new Tcl_AppInitProc(this.CallbackProc); } }
internal TclAppInitProcWrapper(TclInterp interp, TclAppInitProc proc) { _interp = interp; _proc = proc; unsafe { _callback = new Tcl_AppInitProc(this.CallbackProc); } }
public void TkMain(TclAppInitProc initProc) { TkMain(initProc, Environment.GetCommandLineArgs()); }
public void TkMain(TclAppInitProc initProc) { TkMain(initProc, Environment.GetCommandLineArgs()); }