Re: FVWM: Fvwm / FvwmButtons features

From: Alan Wild <arwild01_at_arwild01.remote.louisville.edu>
Date: Fri, 16 Aug 1996 14:59:59 -0400 (EDT)

Charles Hines wrote:
>
> Marco> - Is it possible to use both Swallow and Action in a button?
> Marco> I'd like to swallow oclock, and have an "xclock -digital" called
> Marco> I click on the oclock button.
>
> I believe once an app is swallowed, all button events get directed to
> it, so you can't do this right now. Probably should make this
> possible in the future.

This isn't entirely true (sorry, Chuck).

Yes, once an app is swallowed all events do get directed to it, but this
isn't true of the label. Presently I use the following FvwmButtons
configuration:

*FvwmButtons(1x4 \
        Title 'System Info' \
        Swallow "xload" 'Exec xload' \
        Action(Mouse 1) 'Exec xosview -cua0 -net 200 -ul -l -geometry 325x325' \
        Action(Mouse 2) 'Exec xcpustate -interval 1 -bg "#a4978e" -fg black' \
        Action(Mouse 3) 'Exec rxvt -fg "khaki" -bg "dark olive green" \
                -fat -n top -T Top -7 -e top' )

This lets me start three different applications by left/middle/right
clicking on the label. I do wish I could have this functionality
without havning to set a Title, but hey. . . at least this works.

-Alan

-- 
Alan Wild <arwild01_at_starbase.spd.louisville.edu>           /T\ f/s/c lou95
IT-HSC Consultant       Speed School Student Council        Speed News Guy
http://www.spd.louisville.edu/~arwild01 or ==> ~triangle/ ~spdnews/ ~sssc/
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
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 Fri Aug 16 1996 - 14:10:40 BST

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