summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorericm <ericm>2000-05-17 22:23:25 (GMT)
committerericm <ericm>2000-05-17 22:23:25 (GMT)
commit12614611674bc0a6afb0634fb27c5974472b6b06 (patch)
tree75c653a34cdc708bfff02e1350a48dd04fe46cb9 /doc
parent54e6352675121c47a41ffafce8b02911986cac96 (diff)
downloadtk-12614611674bc0a6afb0634fb27c5974472b6b06.zip
tk-12614611674bc0a6afb0634fb27c5974472b6b06.tar.gz
tk-12614611674bc0a6afb0634fb27c5974472b6b06.tar.bz2
* mac/tkMacDefault.h (DEF_ENTRY_READONLY_BG_COLOR,
DEF_ENTRY_READONLY_BG_COLOR): * win/tkWinDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): * unix/tkUnixDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): Added default values for entry -readonlybackground option. * generic/tkEntry.c: Added -readonlybackground option, cleaned up excessive use of graphics contexts. * tests/entry.test: Added configuration test for -readonlybackground option. * doc/entry.n: Added documentation for -readonlybackground option.
Diffstat (limited to 'doc')
-rw-r--r--doc/entry.n24
1 files changed, 15 insertions, 9 deletions
diff --git a/doc/entry.n b/doc/entry.n
index 474e2a2..12dade2 100644
--- a/doc/entry.n
+++ b/doc/entry.n
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: entry.n,v 1.5 2000/05/14 20:45:37 ericm Exp $
+'\" RCS: @(#) $Id: entry.n,v 1.6 2000/05/17 22:23:25 ericm Exp $
'\"
.so man.macros
.TH entry n 8.3 Tk "Tk Built-In Commands"
@@ -17,14 +17,15 @@ entry \- Create and manipulate entry widgets
.SH SYNOPSIS
\fBentry\fR \fIpathName \fR?\fIoptions\fR?
.SO
-\-background \-highlightthickness \-selectbackground
-\-borderwidth \-insertbackground \-selectborderwidth
-\-cursor \-insertborderwidth \-selectforeground
-\-exportselection \-insertofftime \-takefocus
-\-font \-insertontime \-textvariable
-\-foreground \-insertwidth \-xscrollcommand
-\-highlightbackground \-justify
-\-highlightcolor \-relief
+\-background \-borderwidth \-cursor
+\-exportselection \-font \-foreground
+\-highlightbackground \-highlightcolor \-highlightthickness
+\-insertbackground \-insertborderwidth \-insertofftime
+\-insertontime \-insertwidth \-justify
+\-relief \-selectbackground \-selectborderwidth
+\-selectforeground \-takefocus \-textvariable
+\-xscrollcommand
+
.SE
.SH "WIDGET-SPECIFIC OPTIONS"
.VS 8.4
@@ -42,6 +43,11 @@ Setting it to {} disables this feature (the default). The best use
of this option is to set it to \fIbell\fR. See \fBValidation\fR
below for more information.
.VE
+.VS 8.4
+.OP \-readonlybackground readonlyBackground ReadonlyBackground
+Specifies the background color to use when the entry is readonly. If
+this option is the empty string, the normal background color is used.
+.VE
.OP \-show show Show
If this option is specified, then the true contents of the entry
are not displayed in the window.