Re: FVWM: FvwmButtons: popup on button down?

From: Gregory Margo <gmargo_at_newton.vip.best.com>
Date: Wed, 29 Nov 1995 11:38:15 -0800 (PST)

Charles Hines said:
> >>>>> "gm" == Gregory Margo <gmargo_at_newton.vip.best.com> writes:
>
> gm> I use a popup menu on the button bar to take my ppp link up/down.
> gm> In order to popup the menu, I have to click and release mouse
> gm> button 1 on the appropriate button.
>
> gm> What I really want is to have the menu popup on a "button down"
> gm> event, not "button up", just like the root menus. Is there any
> gm> way to do this?
>
> gm> Here are the appropriate sections from .fvwm2rc (2.0.39)
>
> gm> AddToMenu "PPP" "PPP" Title
> gm> + "PPP-up" Exec exec /usr/local/bin/pppup > /dev/console 2>&1 &
> gm> + "PPP-down" Exec exec /usr/local/bin/pppdown > /dev/console 2>&1 &
>
> gm> *FvwmButtons PPP calvin2-trans.xpm Menu "PPP"
>
> gm> If this is an rtfm, let me know and I'll read it more closely.
>
> It is, more or less. Try using 'Popup "PPP"' instead of 'Menu "PPP"'
>
> Chuck


Both 'Popup "PPP"' and 'Menu "PPP"' act identically. Both wait for the
button up event. I tried the following configuration, with nothing
else defined on the button bar. There was no difference in their
behavior. Must have to do with the Exec?

*FvwmButtons PPP calvin2-trans.xpm Menu "PPP"
*FvwmButtons PPP hobbes-trans.xpm Popup "PPP"

gm
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Gregory H. Margo No free speech restrictions on the Internet!
gmargo_at_newton.vip.best.com
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Nov 29 1995 - 13:38:28 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST