\begin{tabularx}{\linewidth}{lX}
\tabhead{Menu name & Description}
- \code{windowlist} &
+ \codestr{windowlist} &
List of all client windows. Activating an entry jumps to that window. \\
- \code{workspacelist} &
+ \codestr{workspacelist} &
List of all workspaces. Activating an entry jumps to that workspaces. \\
- \code{focuslist} &
+ \codestr{focuslist} &
List of client windows with recent activity in them, followed by
previously focused client windows. \\
- \code{focuslist_} &
+ \codestr{focuslist\_} &
List of previously focused client windows. \\
- \code{stylemenu} &
+ \codestr{stylemenu} &
List of available \file{look\_*.lua} style files. Activating an entry
loads that style and ask to save the selection. \\
- \code{ctxmenu} &
+ \codestr{ctxmenu} &
Context menu for given object. \\
\end{tabularx}
\subsection{Defining context menus}
-The ''ctxmenu'' is a special menu that is assembled from a defined context
+The ``ctxmenu'' is a special menu that is assembled from a defined context
menu for the object for which the menu was opened for, but also includes
the context menus for the manager objects as submenus.
})
\end{verbatim}
-Some of the same ''modes'' as were available for some bindings
-may also be used: \code{WFrame.tiled}, \code{WFrame.floating},
-and \code{WFrame.transient}.
+Some of the same ``modes'' as were available for some bindings
+may also be used: \codestr{WFrame.tiled}, \codestr{WFrame.floating},
+and \codestr{WFrame.transient}.
\subsection{Displaying menus}
\fnref{mod_menu.menu} &
Keyboard (or mouse) operated menus that open in the bottom-left corner
of a screen or frame. \\
- \fnref{mod_menu.bigmenu} &
- Same as previous, but uses another graphical style. \\
\fnref{mod_menu.pmenu} &
Mouse-operated drop-down menus. This function can only be called from a
mouse press or drag handler. \\
\fnref{mod_menu.grabmenu} &
A special version of \fnref{mod_menu.menu} that grabs the keyboard
and is scrolled with a given key until all modifiers have been released,
- after which the selected entry is activated. This function is meant to
- be used for implementing, for example, Win***s-style \key{Alt-Tab}
- handling.\footnote{See the \file{wcirculate.lua} script in the Ion
- scripts repository \url{http://iki.fi/tuomov/repos/ion-scripts-3/}.} \\
+ after which the selected entry is activated. \\
\end{tabularx}
-The \fnrefx{mod_menu}{grabmenu} function takes the extra key parameter, but
-aside from that each of these functions takes three arguments, which when
+Each of these functions takes three arguments, which when
called from a binding handler, should be the parameters to the handler, and
the name of the menu. For example, the following snippet of of code binds
the both ways to open a context menu for a frame: