summaryrefslogtreecommitdiffstats
path: root/doc/ttk_combobox.n
diff options
context:
space:
mode:
authorbll <brad.lanam.comp@gmail.com>2018-04-07 22:31:27 (GMT)
committerbll <brad.lanam.comp@gmail.com>2018-04-07 22:31:27 (GMT)
commita063dba9f5ccd8490ec5c1e1f14745b2f6ba22fa (patch)
treeea2d3d5868944e42bfa6d39c0f720066da132434 /doc/ttk_combobox.n
parent9f347dbb2d063634cf64fa8ba9148f9a9d94d1ff (diff)
downloadtk-a063dba9f5ccd8490ec5c1e1f14745b2f6ba22fa.zip
tk-a063dba9f5ccd8490ec5c1e1f14745b2f6ba22fa.tar.gz
tk-a063dba9f5ccd8490ec5c1e1f14745b2f6ba22fa.tar.bz2
draft 5: all but treeview should be complete.
Diffstat (limited to 'doc/ttk_combobox.n')
-rw-r--r--doc/ttk_combobox.n25
1 files changed, 22 insertions, 3 deletions
diff --git a/doc/ttk_combobox.n b/doc/ttk_combobox.n
index 06eee0f..41eafed 100644
--- a/doc/ttk_combobox.n
+++ b/doc/ttk_combobox.n
@@ -115,14 +115,19 @@ this event is delivered after the listbox is unposted.
The class name for a \fBttk::combobox\fP is \fBTCombobox\fP.
The \fBttk::combobox\fP uses the \fBentry\fP and
\fBlistbox\fP widgets internally.
+The listbox frame has a class name of \fBComboboxPopdownFrame\fP.
.PP
-Dynamic states: disabled, readonly.
+Dynamic states: disabled, focus, pressed, readonly.
.PP
\fBTCombobox\fP styling options configurable with \fBttk::style\fP
are:
.PP
+\fB-arrowcolor\fP
+.br
\fB-background\fP
.br
+\fB-focusfill\fP
+.br
\fB-foreground\fP
.br
\fB-fieldbackground\fP
@@ -131,6 +136,12 @@ are:
Can only be changed when using non-native and non-graphical themes.
.RE
.br
+\fB-insertwidth\fP
+.br
+\fB-padding\fP
+.br
+\fB-postoffset\fP
+.br
\fB-selectbackground\fP
.br
.RS
@@ -156,10 +167,18 @@ option add *TCombobox*Listbox.selectForeground \fIcolor\fP
option add *TCombobox*Listbox.font \fIfont\fP
.PP
To set the font size for a specific listbox (subject to future change):
-.PP
+.CS
set popdown [ttk::combobox::PopdownWindow .mycombobox]
-.br
$popdown.f.l configure -font namedfont
+.CE
+.PP
+\fBComboboxPopdownFrame\fP
+styling options configurable with \fBttk::style\fP
+are:
+.PP
+\fB-borderwidth\fP
+.br
+\fB-relief\fP
.PP
Some options are only available for specific themes.
.PP