manpagez: man pages & more
man Tk_InitConsoleChannels(3)
Home | html | info | man
Tk_InitConsoleChannels(3)    Tk Library Procedures   Tk_InitConsoleChannels(3)




NAME

       Tk_InitConsoleChannels - Install the console channels as standard chan-
       nels


SYNOPSIS

       #include <tk.h>

       Tk_InitConsoleChannels(interp)


ARGUMENTS

       Interpreter in which the console channels are created.


DESCRIPTION

       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 text widget.

       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.


SEE ALSO

       console(n)


KEYWORDS

       standard channels, console



Tk                                    8.5            Tk_InitConsoleChannels(3)

CrtConsoleChan 8.5.4 - Generated Sat Aug 23 06:22:37 CDT 2008
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.