FVWM: Saving Popup values to use in command

From: paul d novak <pnovak_at_baba.ih.lucent.com>
Date: Sat, 27 Feb 1999 20:10:58 -0600

I'm new to fvwm; be gentle with me :-)

I have two questions that I haven't been able to figure out after
checking various sources, so I thought I'd try this mail list.

First an easy one:

        - How can I increase the size of my Popup menus and the
          text in them?

I think I have to change some Font, but I sure can't figure out how.

Second:

I'd like to be able to nest Popup menus, and then based on all
of the selections, determine what command to execute.

For example, suppose I have 3 different logins (curly, moe, larry)
on 3 different machines (apple, grape, orange). I'd like to be
able to nest two Popups so that I can select the login I wish to use,
and then the machine, and once the machine is select, magically
use the value that was selected in the login Popup.

I'd like to be able to do this:

        AddToMenu LOGIN "login:" Title
        + curly Popup Machine
        + moe Popup Machine
        + larry Popup Machine

        AddToMenu MACHINE "Machine:" Title
        + apple Exec exec xterm -e rlogin -l ?login? ?machine?
        + grape Exec exec xterm -e rlogin -l ?login? ?machine?
        + orange Exec exec xterm -e rlogin -l ?login? ?machine?

Can I get the values of ?machine? and ?login? that I selected from the Popups
somehow and use them in the command I want to execute?

In the real world, I have a need to nest several more layers of
information. I know I could 'store' the information myself by
creating a different popup for each combination, but before I use that
brute force solution, I thought I'd check with the experts to
see what's recommended.

Thanks!

Paul Novak
pnovak_at_megsinet.com
--
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 Sat Feb 27 1999 - 20:08:21 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST