(make-window-list-menu #&key (only '()) (except '()) (by-stacking #f) (by-focus #f) (by-resource #f) (reverse #f) (proc window-list-proc) (flash-window-proc flash-window-on) (unflash-window-proc unflash-window) (hover-delay 0) (popup-delay #f) (show-geometry #f) (show-last-focus-time #f) (ignore-winlist-skip #f) (show-mini-icon #t) (enumerate-hotkeys #t))
Popup a window list menu and permit a selection to be made. ONLY and EXCEPT are procedures that control which windows will appear in the list -- see list-windows for details. BY-STACKING, BY-FOCUS and REVERSE control the order in which windows appear. See list-windows for more on these as well. PROC is the procedure which will be called on the selected window. FLASH-WINDOW-PROC and UNFLASH-WINDOW-PROC are set as the hover-action and unhover-action (respectively) of the items in the menu. (See menuitem.) If SHOW-GEOMETRY is #t, the geometries of the windows will be listed in each menuitem. If SHOW-LAST-FOCUS-TIME is #t, the last focus time of the windows will be listed in each menuitem. If SHOW-MINI-ICON is #t, the mini-icon of the windows will be displayed with each menuitem. If WARP-TO-FIRST is #t, the mouse pointer will be warped to the first menuitem (see popup-menu). If BY-RESOURCE is #t, the window list is split into sublists by the window resource name (this is also the behaviour if too many windows exist to fit vertically on the menu). If ENUMERATE-HOT-KEYS is #t, then add alpha-numeric hot keys for the window-list. For the hotkey, the characters 1 through 9 are used first, followed by the letters a through z. Currently this is turned off if BY-RESOURCE is #t.