diff options
author | culler <culler> | 2019-04-10 18:47:11 (GMT) |
---|---|---|
committer | culler <culler> | 2019-04-10 18:47:11 (GMT) |
commit | 4a859d21b93649274665f6221db407fd429a2942 (patch) | |
tree | 650ab643f3367a365da2333cd988a95417ee209c /doc | |
parent | 16e5962b61d6bd5bbfebcbb4b1efad6a813fd6df (diff) | |
download | tk-4a859d21b93649274665f6221db407fd429a2942.zip tk-4a859d21b93649274665f6221db407fd429a2942.tar.gz tk-4a859d21b93649274665f6221db407fd429a2942.tar.bz2 |
Make -fieldbackground work for ttk::entry and ttk::spinbox, but retain the old
behavior of -background if -fieldbackground is not specified.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ttk_entry.n | 6 | ||||
-rw-r--r-- | doc/ttk_spinbox.n | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/ttk_entry.n b/doc/ttk_entry.n index d752670..3a30e4d 100644 --- a/doc/ttk_entry.n +++ b/doc/ttk_entry.n @@ -472,7 +472,9 @@ are: .PP \fB\-background\fP \fIcolor\fP .RS -When using the aqua theme (Mac OS X), changes the \fB\-fieldbackground\fP. +For backwards compatibility, when using the aqua theme (for macOS), this +option behaves as an alias for the \fB\-fieldbackground\fP provided that no +value is specified for \fB\-fieldbackground\fP. Otherwise it is ignored. .RE \fB\-bordercolor\fP \fIcolor\fP .br @@ -480,8 +482,6 @@ When using the aqua theme (Mac OS X), changes the \fB\-fieldbackground\fP. .br \fB\-fieldbackground\fP \fIcolor\fP .RS -Does not work with the aqua theme (Mac OS X). -.br Some themes use a graphical background and their field background colors cannot be changed. .RE \fB\-foreground\fP \fIcolor\fP diff --git a/doc/ttk_spinbox.n b/doc/ttk_spinbox.n index 325d4d8..9ae9881 100644 --- a/doc/ttk_spinbox.n +++ b/doc/ttk_spinbox.n @@ -95,16 +95,16 @@ are: .br \fB\-background\fP \fIcolor\fP .RS -When using the aqua theme (Mac OS X), changes the \fB\-fieldbackground\fP. +For backwards compatibility, when using the aqua theme (for macOS), this +option behaves as an alias for the \fB\-fieldbackground\fP provided that no +value is specified for \fB\-fieldbackground\fP. Otherwise it is ignored. .RE \fB\-bordercolor\fP \fIcolor\fP .br \fB\-darkcolor\fP \fIcolor\fP .br \fB\-fieldbackground\fP \fIcolor\fP -.RS -Does not work with the aqua theme (Mac OS X). -.RE +.br \fB\-foreground\fP \fIcolor\fP .br \fB\-lightcolor\fP \fIcolor\fP |