On Wed, Nov 09, 2011 at 11:49:46AM +0100, Ingo Wardinski wrote: > Good Morning, > I had a look at FvwmWindowMenu, and I have a couple of questions. > Is there a way to sort the window entries in FvwmWindowMenu either by class > name, or any other criteria? The manpage says that menu entries are > placed by WindowListFunc. How could I sort entries by using > WindowListFunc?
No, this has nothing to do with WindowListFunc -- this is what's run when an item is selected. As for ordering, you can use FvwmPerl to do this, since the Show* properties of WindowMenu accept m// -- although were they to allow m//xsg for instance, this would make things easier for sorting. > Also, I would like to perform different actions on the entries of > FvwmWindowMenu, e.g. warptowindow or move the window to this page. I > was thinking to define some submenus with addtomenu and popup > actions. Has anyone done something like that before and would give > some advice? You could use All() and use SendToModule to automatically do that, or script it with FvwmPerl. > I also would like to print the specific page number of a window, and > the manpage of FvwmWindowMenu gives the format specifiers of the > item string, but there is no specifier for the page number. Am I > right? I would be very happy if that could be included in a future > version of FvwmWindowMenu. Patches welcome. It's trivial to do. -- Thomas Adam