Im trying to do some kind of menu using FvwmButtons. So far the thing does not look too bad (I’ll post screens when I have finished). I’ve run into some problems and managed to solve almost everything on my own, though, there are a couple of things that I wonder.
First, I made this to emulate the menu-feel. Basically, it closes the menu when you move the mouse out of it. This is what I have now:
Module FvwmEvent FvwmFocusChange
*FvwmFocusChange: leave_window FocusChange
+ I ThisWindow (MenuPanel|DevicePanel) Close
I don’t know if this is the best event, and the thing I am worried about is the +I line. Is really Close the best bet here? I ask because when I go out the menu closes, that’s ok, but a bit later I can see the menu blink again in the screen (like respawning or something) and hide again very fast (but perceptible). Of course, MenuPanel and DevicePanel are both FvwmButtons instances.
Second: I’m aware of the ActionOnPress option of FvwmButtons. Would it be possible to replicate that behaviour when using panelized FvwmButtons? What I would like is the fake menus to open on click, and not when I release the button. I suppose that this question has no possitive answer, but as I always say: to ask is for free.
Thanks and regards. If you are interested in this thing keep an eye here, I will post some screenies when I have something usefull.