FVWM: Re: Question about buttons...

From: Tony J. White <tjw_at_webteam.net>
Date: Wed, 12 Dec 2001 11:27:39 -0600 (CST)

As Dominik pointed out, when you swallow an application in a button, fvwm
will not trap mose clicks on the swallowed app because they will be passed
on to the application.

However, if you provide a 'Title' to the button, the Title string will be drawn
under the swallowed app. Clicking on this Title text does NOT get passed
to the application.

Here's roughly what I use for my xclock:

(1x1, \
        Title 'Clock', \
        Swallow(UseOld,NoHints,Respawn) "xclock" \
        'Exec exec xclock -bg white -fg black -hd black -hl black \
        -padding 0 ', \
        Action(Mouse 1) 'Exec xterm -e sudo ntpdate clock.via.net')

-Tony


--
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 Dec 12 2001 - 11:25:11 GMT

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