Skip to content

Commit 3ac10eb

Browse files
author
culler
committedMar 10, 2025
Edit docs to explain the menubar selection algorithm.
1 parent 4c03f4b commit 3ac10eb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed
 

‎doc/menu.n

+7-2
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,15 @@ all of its submenus.
225225
Any menu can be set as a menubar for a toplevel window (see
226226
\fBtoplevel\fR command for syntax). On the Macintosh, whenever the
227227
toplevel is in front, this menu's cascade items will appear in the
228-
menubar across the top of the main monitor. On Windows and Unix, this
228+
menubar across the top of the main screen. On Windows and Unix, this
229229
menu's items will be displayed in a menubar across the top of the
230230
window. These menus will behave according to the interface guidelines
231-
of their platforms. For every menu set as a menubar, a clone menu is
231+
of their platforms. In particular, since macOS requires that a
232+
menubar always be displayed for the active app, if no menu is assigned
233+
by a \fBconfigure -menu\fR for a certain toplevel then a standard default
234+
menu will be displayed whenever that toplevel has focus.
235+
236+
For every menu set as a menubar, a clone menu is
232237
made. See the \fBCLONES\fR section for more information.
233238
.PP
234239
As noted, menubars may behave differently on different platforms. One

0 commit comments

Comments
 (0)
Please sign in to comment.