summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2010-03-28 21:43:25 (GMT)
committerjenglish <jenglish@flightlab.com>2010-03-28 21:43:25 (GMT)
commitd57497b08ca7f6e28de6e670b3319f92e8fc18b7 (patch)
tree8e34ad5c3d74ee021a6a5c88057db3fa60b18ae8 /doc
parent32b447840477bfd7ee73349a241155bef7d841b7 (diff)
downloadtk-d57497b08ca7f6e28de6e670b3319f92e8fc18b7.zip
tk-d57497b08ca7f6e28de6e670b3319f92e8fc18b7.tar.gz
tk-d57497b08ca7f6e28de6e670b3319f92e8fc18b7.tar.bz2
ttk::treeview widget: add 'tag names', 'tag add', and 'tag remove' methods.
Diffstat (limited to 'doc')
-rw-r--r--doc/ttk_treeview.n16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/ttk_treeview.n b/doc/ttk_treeview.n
index f351fb3..f1a491e 100644
--- a/doc/ttk_treeview.n
+++ b/doc/ttk_treeview.n
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: ttk_treeview.n,v 1.21 2009/11/15 21:09:22 dkf Exp $
+'\" RCS: @(#) $Id: ttk_treeview.n,v 1.22 2010/03/28 21:43:25 jenglish Exp $
'\"
.so man.macros
.TH ttk::treeview n 8.5 Tk "Tk Themed Widget"
@@ -378,6 +378,20 @@ If \fIitem\fR is specified, returns 1 or 0
depending on whether the specified item has the named tag.
Otherwise, returns a list of all items which have
the specified tag.
+.TP
+\fIpathName \fBtag names\fR
+Returns a list of all tags used by the widget.
+.TP
+\fIpathName \fBtag add\fR \fItag\fR \fIitems\fR
+Adds the specified \fItag\fR to each of the listed \fIitems\fR.
+If \fItag\fR is already present for a particular item,
+then the \fB-tags\fR for that item are unchanged.
+.TP
+\fIpathName \fBtag remove\fR \fItag\fR ?\fIitems\fR?
+Removes the specified \fItag\fR from each of the listed \fIitems\fR.
+If \fIitems\fR is omitted, removes \fItag\fR from each item in the tree.
+If \fItag\fR is not present for a particular item,
+then the \fB-tags\fR for that item are unchanged.
.RE
.TP
\fIpathName \fBxview \fIargs\fR