FVWM: FvwmForm enhancements request

From: Paul D. Smith <paul_smith_at_BayNetworks.com>
Date: Thu, 18 Apr 96 11:33:53 EDT

Here're some more goodies for the FvwmForm module TODO list:

  - Provide a title specifier so that you can leave a titlebar on the form
    window and something more interesting than the form app name can be
    specified (FvwmFormTitle?)

  - Need a popdown selector widget style for FvwmFormChoice, in addition
    to the current pushbutton style.

  - I'd like string compare operators in the FvwmFormCommand option,
    like:

        $(name=="foo"?string)
        $(name!="foo"?string)

    So the syntax is really:

        command : "$(" expr "?" command ")"

        expr : name | name op name
        op : "==" | "!="

        name : Name | String | command

    Or something (just hacked this BNF off the top of my head :) Heck,
    there're lots of cool operators I can think of: perl's "~=" for
    regexp matching, for example... once the first one is done more
    should be easy to add.

  - I'd love to see C's trinary operator supported in FvwmFormCommand;
    it would be much cleaner than "$(name?then) $(name!else)". Instead,
    add an optional : clause to the ? operator, like this:

        $(name?then[:else])

    Of course, that means that anyone's current Command definition that
    includes a ":" in the "string" clause will break, but... :) And
    you'd need some way of escaping it.
--
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 Thu Apr 18 1996 - 10:31:47 BST

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