Re: FVWM: FvwmButtons: popup on button down?

From: Charles Hines <>
Date: Wed, 29 Nov 1995 12:54:44 -0500

>>>>> "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
--
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 - 11:55:01 GMT

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