]> git.decadent.org.uk Git - ion3-doc.git/blobdiff - conf-menus.tex
Add 20080411-1.
[ion3-doc.git] / conf-menus.tex
index 3f9ee17dcdb2db5b2ec4d2fc8cad3c6699c76fe1..a87de0b389e88af9ff7c84d07cee4627e0ce70e6 100644 (file)
@@ -44,21 +44,26 @@ just like the menus defined as above.
 
 \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{stylemenu} &
+    \codestr{focuslist} & 
+    List of client windows with recent activity in them, followed by 
+    previously focused client windows. \\
+    \codestr{focuslist\_} & 
+    List of previously focused client windows. \\
+    \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.
 
@@ -76,9 +81,9 @@ defctxmenu("WFrame", {
 })
 \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}
@@ -92,22 +97,16 @@ handlers (and elsewhere):
     \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: