summaryrefslogtreecommitdiffstats
path: root/doc/menubutton.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/menubutton.n')
-rw-r--r--doc/menubutton.n6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/menubutton.n b/doc/menubutton.n
index d07a8fe..6252374 100644
--- a/doc/menubutton.n
+++ b/doc/menubutton.n
@@ -12,7 +12,7 @@
.SH NAME
menubutton \- Create and manipulate 'menubutton' pop-up menu indicator widgets
.SH SYNOPSIS
-\fBmenubutton\fR \fIpathName \fR?\fIoptions\fR?
+\fBmenubutton\fI pathName \fR?\fIoptions\fR?
.SO
\-activebackground \-disabledforeground \-padx
\-activeforeground \-font \-pady
@@ -95,7 +95,7 @@ is released, the menu is unposted.
.PP
Menubuttons are used to construct a \fBtk_optionMenu\fR, which is the
preferred mechanism for allowing a user to select one item from a list
-on Mac OS X.
+on macOS.
.PP
Menubuttons were also typically organized into groups called menu bars
that allow scanning:
@@ -122,6 +122,7 @@ operations on the widget. It has the following general form:
\fIOption\fR and the \fIarg\fRs
determine the exact behavior of the command. The following
commands are possible for menubutton widgets:
+.\" METHOD: cget
.TP
\fIpathName \fBcget \fIoption\fR
.
@@ -129,6 +130,7 @@ Returns the current value of the configuration option given
by \fIoption\fR.
\fIOption\fR may have any of the values accepted by the \fBmenubutton\fR
command.
+.\" METHOD: configure
.TP
\fIpathName \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
.