Imported Tk 8.6.9
This commit is contained in:
@@ -45,6 +45,33 @@ methods. No other widget methods are used.
|
||||
.PP
|
||||
\fBTtk::menubutton\fR widgets support the \fBToolbutton\fR style in all
|
||||
standard themes, which is useful for creating widgets for toolbars.
|
||||
.SH "STYLING OPTIONS"
|
||||
.PP
|
||||
The class name for a \fBttk::menubutton\fP is \fBTMenubutton\fP.
|
||||
.PP
|
||||
Dynamic states: \fBactive\fP, \fBdisabled\fP, \fBreadonly\fP.
|
||||
.PP
|
||||
\fBTMenubutton\fP styling options configurable with \fBttk::style\fP
|
||||
are:
|
||||
.PP
|
||||
\fB\-arrowsize\fP \fIamount\fP
|
||||
.br
|
||||
\fB\-background\fP \fIcolor\fP
|
||||
.br
|
||||
\fB\-foreground\fP \fIcolor\fP
|
||||
.br
|
||||
\fB\-font\fP \fIfont\fP
|
||||
.br
|
||||
\fB\-padding\fP \fIpadding\fP
|
||||
.br
|
||||
\fB\-relief\fP \fIrelief\fP
|
||||
.br
|
||||
\fB\-width\fP \fIamount\fP
|
||||
.PP
|
||||
Some options are only available for specific themes.
|
||||
.PP
|
||||
See the \fBttk::style\fP manual page for information on how to configure
|
||||
ttk styles.
|
||||
.SH "SEE ALSO"
|
||||
ttk::widget(n), menu(n), menubutton(n)
|
||||
.SH "KEYWORDS"
|
||||
|
||||
Reference in New Issue
Block a user