diff options
Diffstat (limited to 'doc/treectrl.html')
-rw-r--r-- | doc/treectrl.html | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/doc/treectrl.html b/doc/treectrl.html index bee1e6f..bc441d5 100644 --- a/doc/treectrl.html +++ b/doc/treectrl.html @@ -1,10 +1,10 @@ -<! -- Copyright (c) 2002-2003 Christian Krone. -- -- See the file "license.terms" for information on usage and redistribution -- of this file, and for a DISCLAIMER OF ALL WARRANTIES. -- -- $Id: treectrl.html,v 1.51 2007/10/23 23:04:33 treectrl Exp $ +<! -- Copyright (c) 2002-2003 Christian Krone. -- -- See the file "license.terms" for information on usage and redistribution -- of this file, and for a DISCLAIMER OF ALL WARRANTIES. -- -- $Id: treectrl.html,v 1.52 2007/11/12 04:15:52 treectrl Exp $ --><html><head> <title>treectrl - Tk Commands </title> </head> <! -- Generated from file 'doc/treectrl.man' by tcllib/doctools with format 'html' --> -<! -- CVS: $Id: treectrl.html,v 1.51 2007/10/23 23:04:33 treectrl Exp $ treectrl.n +<! -- CVS: $Id: treectrl.html,v 1.52 2007/11/12 04:15:52 treectrl Exp $ treectrl.n --> <body> @@ -394,6 +394,14 @@ be after resizing. For <strong>realtime</strong>, the column's size is changed w the user is dragging the right edge of the column. <br><br> +<dt>Command-Line Switch: <strong>-columntagexpr</strong><br> +Database Name: <strong>columnTagExpr</strong><br> +Database Class: <strong>ColumnTagExpr</strong><br> +<dd> +Specifies a boolean that enables or disables tag expressions in column +descriptions. See <a href="#item_and_column_tags">ITEM AND COLUMN TAGS</a>. + +<br><br> <dt>Command-Line Switch: <strong>-defaultstyle</strong><br> Database Name: <strong>defaultStyle</strong><br> Database Class: <strong>DefaultStyle</strong><br> @@ -464,6 +472,14 @@ but it is important your code doesn't assume item ids are integers if you use it. <br><br> +<dt>Command-Line Switch: <strong>-itemtagexpr</strong><br> +Database Name: <strong>itemTagExpr</strong><br> +Database Class: <strong>ItemTagExpr</strong><br> +<dd> +Specifies a boolean that enables or disables tag expressions in item +descriptions. See <a href="#item_and_column_tags">ITEM AND COLUMN TAGS</a>. + +<br><br> <dt>Command-Line Switch: <strong>-itemwidth</strong><br> Database Name: <strong>itemWidth</strong><br> Database Class: <strong>ItemWidth</strong><br> @@ -763,6 +779,23 @@ or equivalently: .t item id "tag {a ^ b}" </pre></td></tr></table></p> will return the unique ids of any items with either "a" or "b" tags, but not both. +<p> +Within a tag expression a tag name may be enclosed in double quotes to avoid special +processing of the operator characters. For example: +<p><table><tr><td bgcolor=black> </td><td><pre class='sample'> +.t item id {tag {"a&&b"||c}} +</pre></td></tr></table></p> +will return the unique ids of any items with either "a&&b" or "c" tags; in this +example the && is not treated as an operator. A double-quote may be escaped within +a quoted tag name using a backslash '\'. +<p> +Tag operators may be bypassed completely by setting the <strong>-columntagexpr</strong> and +<strong>-itemtagexpr</strong> options. This can be useful if your application has column +or item tags containing arbitrary text. +<p><table><tr><td bgcolor=black> </td><td><pre class='sample'> +.t configure -itemtagexpr false +.t item delete "tag a&&b" +</pre></td></tr></table></p> <h2><a name="widget_command">WIDGET COMMAND</a></h2> <p> |