1Tk_InitConsoleChannels(3)    Tk Library Procedures   Tk_InitConsoleChannels(3)
2
3
4
5______________________________________________________________________________
6

NAME

8       Tk_InitConsoleChannels - Install the console channels as standard chan‐
9       nels
10

SYNOPSIS

12       #include <tk.h>
13
14       Tk_InitConsoleChannels(interp)
15

ARGUMENTS

17       Tcl_Interp *interp (in)          Interpreter in which the console chan‐
18                                        nels are created.
19______________________________________________________________________________
20

DESCRIPTION

22       Tk_InitConsoleChannels  is  invoked to create a set of console channels
23       and install them as the standard channels. All I/O  on  these  channels
24       will  be discarded until Tk_CreateConsoleWindow is called to attach the
25       console to a text widget.
26
27       This function is for use by shell applications based on Tk, like  wish,
28       on  platforms  which  have no standard channels in graphical mode, like
29       Win32.
30
31       The interp argument is the interpreter in which to create  and  install
32       the console channels.
33
34       NOTE:  If  this  function  is used it has to be called before the first
35       call to Tcl_RegisterChannel,  directly,  or  indirectly  through  other
36       channel  functions.  Because  otherwise  the  standard channels will be
37       already initialized to the system defaults, which will  be  nonsensical
38       for the case Tk_InitConsoleChannels is for.
39

SEE ALSO

41       console(n)
42

KEYWORDS

44       standard channels, console
45
46
47
48Tk                                    8.5            Tk_InitConsoleChannels(3)
Impressum