summaryrefslogtreecommitdiffstats
path: root/tkcon/docs/dump.n.man
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-10-18 18:04:50 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-10-18 18:04:50 (GMT)
commit4e1e70fc5d5f5083a33a532fa4fc7868a33e3855 (patch)
treeecf5a4804f77ad4fed32caf4d3818b47c755c2c0 /tkcon/docs/dump.n.man
parent39e34335fb6eb6eaf2b7ee51ccf172006dd46fbb (diff)
parent64d1425f65568851a1004cbdac170780e95720a2 (diff)
downloadblt-4e1e70fc5d5f5083a33a532fa4fc7868a33e3855.zip
blt-4e1e70fc5d5f5083a33a532fa4fc7868a33e3855.tar.gz
blt-4e1e70fc5d5f5083a33a532fa4fc7868a33e3855.tar.bz2
Merge commit '64d1425f65568851a1004cbdac170780e95720a2' as 'tkcon'
Diffstat (limited to 'tkcon/docs/dump.n.man')
-rw-r--r--tkcon/docs/dump.n.man60
1 files changed, 60 insertions, 0 deletions
diff --git a/tkcon/docs/dump.n.man b/tkcon/docs/dump.n.man
new file mode 100644
index 0000000..9dbccdb
--- /dev/null
+++ b/tkcon/docs/dump.n.man
@@ -0,0 +1,60 @@
+[comment {-*- tcl -*- dump manpage}]
+[manpage_begin dump n 2.5]
+[copyright {Jeffrey Hobbs <jeff at hobbs.org>}]
+[moddesc {TkCon}]
+[titledesc {Dump information about Tcl interpreter in TkCon}]
+
+[description]
+[para]
+The dump command provides a way for the user to spit out state
+information about the interpreter in a Tcl readable
+(and human readable) form.
+It takes the general form:
+
+[list_begin definitions]
+
+[call [cmd dump] [arg method]\
+ [opt [arg -nocomplain]]\
+ [opt [arg "-filter pattern"]]\
+ [opt [cmd --]]\
+ [arg pattern]\
+ [opt [arg "pattern ..."]]]
+
+[list_end]
+
+[para]
+The patterns represent glob-style patterns (as in [cmd string] [arg {match pattern $str}]).
+[arg -nocomplain] will prevent dump from throwing an error if no items
+matched the pattern.
+[arg -filter] is interpreted as appropriate for the method.
+The various methods are:
+
+[list_begin definitions]
+
+[def "[cmd dump] [arg command] [arg args]"]
+Outputs one or more commands.
+
+[def "[cmd dump] [arg procedure] [arg args]"]
+Outputs one or more procs in sourceable form.
+
+[def "[cmd dump] [arg variable] [arg args]"]
+Outputs the values of variables in sourceable form.
+Recognizes nested arrays.
+The -filter pattern is used as to filter array element
+names and is interepreted as a glob pattern (defaults to {*}).
+It is passed down for nested arrays.
+
+[def "[cmd dump] [arg widget] [arg args]"]
+Outputs one or more widgets by giving their configuration options.
+The -filter pattern is used as to filter the config options and
+is interpreted as a case insensitive regexp pattern (defaults to {.*}).
+
+[list_end]
+
+[see_also [cmd tkcon](1)]
+[see_also [cmd tkconrc](5) [cmd tkcon](n) [cmd idebug](n)]
+[see_also [cmd observe](n)]
+[keywords Tk console dump]
+
+[manpage_end]
+