Tcl8.6/Tk8.6 Documentation > Tk C API, version 8.6.8 > CrtConsoleChan
Tcl/Tk Applications | Tcl Commands | Tk Commands | [incr Tcl] Package Commands | SQLite3 Package Commands | TDBC Package Commands | tdbc::mysql Package Commands | tdbc::odbc Package Commands | tdbc::postgres Package Commands | tdbc::sqlite3 Package Commands | Thread Package Commands | Tcl C API | Tk C API | [incr Tcl] Package C API | TDBC Package C API
- Tcl_Interp *interp (in)
- Interpreter in which the console channels are created.
This function is for use by shell applications based on Tk, like wish, on platforms which have no standard channels in graphical mode, like Win32.
The interp argument is the interpreter in which to create and install the console channels.
NOTE: If this function is used it has to be called before the first call to Tcl_RegisterChannel, directly, or indirectly through other channel functions. Because otherwise the standard channels will be already initialized to the system defaults, which will be nonsensical for the case Tk_InitConsoleChannels is for.console standard channels, console