Tk_InitConsoleChannels(3Tk Library ProcedureTk_InitConsoleChannels(3)
Tk_InitConsoleChannels - Install the console channels as
Tcl_Interp *interp (in) Interpreter in which the
console channels are
Tk_InitConsoleChannels is invoked to create a set of console
channels and install them as the standard channels. All I/O
on these channels will be discarded until
Tk_CreateConsoleWindow is called to attach the console to a
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 other-
wise the standard channels will be already initialized to
the system defaults, which will be nonsensical for the case
Tk_InitConsoleChannels is for.
standard channels, console
Tk Last change: 8.5 1
Man(1) output converted with