Re: FVWM: Swallow and Exec from one FvwmButton

From: Todd Tyrone Fries <todd_at_miango.com>
Date: Tue, 11 Jun 1996 04:27:05 -0500 (CDT)

> Is it possible to have a button that does a swallow and have another
> action tied to the button name?

As has been pointed out tkgoodstuff will do this for you now.

> The reason I ask is that I'm trying to set up a cluster monitor panel
> which is basically nine xloads in a vertical button bar. I have a label
> for each button with the host name in it and would like to run a terminal
> on that machine when the button is pressed. I could do it with a button
> for the xload with a button for the hostname underneath but the geometry
> gets messy as I only want a small buttons for the names and the xloads
> to take up the rest of the space. With a combined swallow and label I
> get this automatically.

You can specify in the xload that no title be used, then create a small
button above the xload with the name of the machine which can be used to
click on to Exec what you wanted...

For example:

Module FvwmButtons /tmp/configfile

/tmp/configfile:

(9x1, Container(Padding 0 0,Frame 0,Fore black,Back white,Rows 6,Columns 9))
 (1x1,Title m1)
 (1x1,Title m2)
 (1x1,Title m3)
....
 (1x5,Swallow (NoTitle) xload)
....
 (End)

Except that didn't work when I tried it...argh...but you do get the idea
I hope...

--
Todd Fries .. todd_at_miango.com .. todd_at_emcee.com .. tfries_at_umr.edu
--
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 Tue Jun 11 1996 - 16:14:26 BST

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