diff options
author | fvogel <fvogelnew1@free.fr> | 2016-07-29 19:28:31 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-07-29 19:28:31 (GMT) |
commit | 3cd8fb236d01529992f8e191649d0ea48b0669f5 (patch) | |
tree | 366506e6d68c9b7bbedcaef89485c6d16ebee89e /doc | |
parent | 549adde50fcfb69493f670105f83cfb8dbcb8afe (diff) | |
download | tk-3cd8fb236d01529992f8e191649d0ea48b0669f5.zip tk-3cd8fb236d01529992f8e191649d0ea48b0669f5.tar.gz tk-3cd8fb236d01529992f8e191649d0ea48b0669f5.tar.bz2 |
Clarified documentation about precedence of color specifications: -[lr]margincolor tag option > -background tag option > -background widget option
Diffstat (limited to 'doc')
-rw-r--r-- | doc/text.n | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -492,8 +492,9 @@ second and later display lines for a text line. contain characters because they are indented by \fB\-lmargin1\fR or \fB\-lmargin2\fR. It may have any of the forms accepted by \fBTk_GetColor\fR.If \fIcolor\fR has not been specified, or if it is -specified as an empty string, then the color specified by the -\fB-background\fR widget option is used. +specified as an empty string, then the color used is specified by the +\fB-background\fR tag option (or, if this is also unspecified, by the +\fB-background\fR widget option). .TP \fB\-offset \fIpixels\fR . @@ -537,9 +538,10 @@ character of that display line. . \fIColor\fR specifies the background color to use in regions that do not contain characters because they are indented by \fB\-rmargin1\fR. It may -have any of the forms accepted by \fBTk_GetColor\fR.If \fIcolor\fR has not +have any of the forms accepted by \fBTk_GetColor\fR. If \fIcolor\fR has not been specified, or if it is specified as an empty string, then the color -specified by the \fB-background\fR widget option is used. +used is specified by the \fB-background\fR tag option (or, if this is also +unspecified, by the \fB-background\fR widget option). .TP \fB\-selectbackground \fIcolor\fR \fIColor\fR specifies the background color to use when displaying selected |