SharedSourceCLI.TK.TclInterp.TkMain C# (CSharp) Method

TkMain() public method

public TkMain ( TclAppInitProc initProc ) : void
initProc TclAppInitProc
return void
        public void TkMain(TclAppInitProc initProc) {
            TkMain(initProc, Environment.GetCommandLineArgs());
        }

Same methods

TclInterp::TkMain ( TclAppInitProc initProc, string argv ) : void

Usage Example

 void Run()
 {                   
     //
     // Create the interpreter - and start the application.
     //
     TclInterp interp = new TclInterp();
     interp.TkMain(new TclAppInitProc(InitProc));
 }