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