From: Jeff Hobbs Date: Thu, 26 Feb 2009 01:02:40 +0000 (+0000) Subject: * docs/tkcon.html, docs/tkcon.n.man: add tkcon resultfilter docs. X-Git-Tag: tkcon-2-5~3 X-Git-Url: https://privyetmir.co.uk/gitweb.cgi?a=commitdiff_plain;h=d2f485630701cd9aa68cb6d043ae910a3e9e6684;p=tkcon * docs/tkcon.html, docs/tkcon.n.man: add tkcon resultfilter docs. --- diff --git a/ChangeLog b/ChangeLog index 12a05fc..babb9c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-02-25 Jeff Hobbs + + * docs/tkcon.html, docs/tkcon.n.man: add tkcon resultfilter docs. + 2008-02-07 Jeff Hobbs * tkcon.tcl (::tkcon::Bindings): prevent Expand virtual events diff --git a/docs/tkcon.html b/docs/tkcon.html index 9fe5753..5c66cb3 100755 --- a/docs/tkcon.html +++ b/docs/tkcon.html @@ -141,6 +141,11 @@ returns the result.
tkcon new
Creates a new tkcon widget. +
tkcon resultfilter ?command? +
Specify a command to process the results before outputting it to the +console window. The command receives one argument (the result string) and +the string returned is placed in the console. +
tkcon save ?filename ?type??
Saves the console buffer to the given filename. If no filename is given, it will attempt to call tk_getSaveFile to pop up the diff --git a/docs/tkcon.n.man b/docs/tkcon.n.man index 0f7f3a1..8bd0c99 100644 --- a/docs/tkcon.n.man +++ b/docs/tkcon.n.man @@ -92,6 +92,9 @@ and returns the result. [call [cmd tkcon] [arg new]] Creates a new tkcon widget. +[call [cmd tkcon] [arg resultfilter] [opt [arg command]]] + + [call [cmd tkcon] [arg save] [opt "[arg filename] [opt [arg type]]"]] Saves the console buffer to the given filename. If no filename is given, it will attempt to call