summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-05-26 19:11:02 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-05-26 19:11:02 (GMT)
commitb450dcba5a91d6d3f4514306af14a2df22505ee7 (patch)
tree1ebfe9657383599acd58f593ea33450eeb569226 /doc
parent075c8c77b5d81bbd425891f8b107b647a6f85254 (diff)
parent9e395306396549a5ef50de28a5bafad4ee00faed (diff)
downloadtk-b450dcba5a91d6d3f4514306af14a2df22505ee7.zip
tk-b450dcba5a91d6d3f4514306af14a2df22505ee7.tar.gz
tk-b450dcba5a91d6d3f4514306af14a2df22505ee7.tar.bz2
Fix [ce470f20fd]: ttk::treeview has column dragging issues
Diffstat (limited to 'doc')
-rw-r--r--doc/ttk_treeview.n26
1 files changed, 15 insertions, 11 deletions
diff --git a/doc/ttk_treeview.n b/doc/ttk_treeview.n
index 5fd5e6d..125cc78 100644
--- a/doc/ttk_treeview.n
+++ b/doc/ttk_treeview.n
@@ -133,25 +133,29 @@ The column name. This is a read-only option.
For example, [\fI$pathname \fBcolumn #\fIn \fB\-id\fR]
returns the data column associated with display column #\fIn\fR.
.TP
-\fB\-anchor\fR
+\fB\-anchor \fIanchor\fR
Specifies how the text in this column should be aligned
-with respect to the cell. One of
+with respect to the cell. \fIAnchor\fR is one of
\fBn\fR, \fBne\fR, \fBe\fR, \fBse\fR,
\fBs\fR, \fBsw\fR, \fBw\fR, \fBnw\fR, or \fBcenter\fR.
.TP
-\fB\-minwidth\fR
+\fB\-minwidth \fIminwidth\fR
The minimum width of the column in pixels.
The treeview widget will not make the column any smaller than
\fB\-minwidth\fR when the widget is resized or the user drags a
+column separator. Default is 20 pixels.
+.TP
+\fB\-stretch \fIboolean\fR
+Specifies whether or not the column width should be adjusted
+when the widget is resized or the user drags a column separator.
+\fIBoolean\fR may have any of the forms accepted by \fBTcl_GetBoolean\fR.
+By default columns are stretchable.
+.TP
+\fB\-width \fIwidth\fR
+The width of the column in pixels. Default is 200 pixels. The specified
+column width may be changed by Tk in order to honor \fB\-stretch\fR
+and/or \fB\-minwidth\fR, or when the widget is resized or the user drags a
column separator.
-.TP
-\fB\-stretch\fR
-Specifies whether or not the column's width should be adjusted
-when the widget is resized.
-.TP
-\fB\-width \fIw\fR
-The width of the column in pixels. Default is something reasonable,
-probably 200 or so.
.PP
Use \fIpathname column #0\fR to configure the tree column.
.RE