Tk_InitConsoleChannels man page on Peanut

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
Peanut logo
[printable version]

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
       Tcl_Interp *interp (in)		Interpreter in which the console chan‐
					nels 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)
[top]

List of man pages available for Peanut

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net