Re: FVWM: How to define a double click on FvwmButtons?

From: Tavis Ormandy <taviso_at_sdf.lonestar.org>
Date: Wed, 19 Jan 2005 19:58:11 +0000

On Thu, Jan 20, 2005 at 02:30:26AM +0800, Yin susu wrote:
> As,i know,
> *MyButtons: (1x5, Frame 0, Icon 48x48/gimp.png, \
> Action(Mouse 1) "Exec exec gimp")
> use this,I can start up gimp by click on the button.
>
> But how could i start gimp by double click on the buttons?

Define a function that starts gimp on double click, for example:

AddToFunc DoubleExec D Exec $*

Then bind Mouse 1 to "DoubleExec gimp" instead.

-- 
-------------------------------------
taviso_at_sdf.lonestar.org | finger me for my gpg key.
-------------------------------------------------------
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Jan 19 2005 - 13:58:48 GMT

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