Yifeng Li fc024fb51d tkcon.tcl: disable Tk version check. 1 ano atrás
..
INSTALL ba834f0a73 Import upstream 1.2.2. 1 ano atrás
Makefile.am ba834f0a73 Import upstream 1.2.2. 1 ano atrás
Makefile.in ba834f0a73 Import upstream 1.2.2. 1 ano atrás
README ba834f0a73 Import upstream 1.2.2. 1 ano atrás
aclocal.m4 ba834f0a73 Import upstream 1.2.2. 1 ano atrás
bootstrap ba834f0a73 Import upstream 1.2.2. 1 ano atrás
configure ba834f0a73 Import upstream 1.2.2. 1 ano atrás
configure.ac ba834f0a73 Import upstream 1.2.2. 1 ano atrás
console.tcl ba834f0a73 Import upstream 1.2.2. 1 ano atrás
console.test ba834f0a73 Import upstream 1.2.2. 1 ano atrás
console_demo.tcl ba834f0a73 Import upstream 1.2.2. 1 ano atrás
install-sh ba834f0a73 Import upstream 1.2.2. 1 ano atrás
missing ba834f0a73 Import upstream 1.2.2. 1 ano atrás
mkinstalldirs ba834f0a73 Import upstream 1.2.2. 1 ano atrás
pkgIndex.tcl ba834f0a73 Import upstream 1.2.2. 1 ano atrás
tkcon.tcl fc024fb51d tkcon.tcl: disable Tk version check. 1 ano atrás

README

sppdgTcllib/console/README

console package


This tcl library provides the 'console' package for use within
applications.

It is often nice to be able to open a console window in your
application to give users access to a log window and/or to give
programmers the ability to debug applications on the fly. You can
either look at the results of commands (puts output is captured) or
type commands directly into the interpreter.

Long, long ago, Jeff Hobbs published a Console widget, based on his
tkcon work and the 'widget' package. But this has not been updated
and doesn't work too well. Note that 'package require Console' (with
a capital C) gets you the Hobbs widget. Use lowercase for this
package.

This alternative package wraps around the (more updated and complete)
tkcon application. This is an excellent console application in its
own rithe, and can be invoked as a componet of another application, if
you know all the secret internal bits to set.


SYNOPSIS
--------

package require console
console::create ?options?
console::show
console::hide


COMMANDS:
---------

console::create ?options?

Create the console window. This must be a toplevel window, and cannot
be a widget to be packed into another interface. Each option requires
a value.

console::show

Shows (deiconifies) the console window. Sets the -variable to "1".

console::hide

Hides (withdraws) the console window. Sets the -variable to "0"


OPTIONS
-------

Options control the behavior of the console. You can't change 'em
once created.

-showOnStartup

If value is "1", the console is shown when created. If the value is
"0", then the console is created in a withdrawn state. The default is
0.

-root

Root window name for the console. This must be a toplevel, and it
must not yet exist. Default is .console.

-protocol