Re: FVWM: Wishlist

From: <gensch_at_zk3.dec.com>
Date: Tue, 2 Jun 1998 10:08:10 -0400 (EDT)

On 1 Jun, Paul D. Smith wrote:

> 4) FvwmButtons

        - Allow a "hangon" title to be specified without having to use
          the old (deprecated?) legacy syntax.

          What I'm talking about here is that the legacy fields:

          [title icon command]

          had an extension to Exec where it could be specified as:

          Exec ["hangon"] command

          Since this gives nice feedback that something is happening,
          it would be nice if we could specify this somehow using the
          Actions keyword. Also, if the "hangon" never happens, there
          should be some sort of timeout to reinstate the original
          button appearance.

          My suggestion:

            Action (Mouse 1, Hangon "Netscape", HangTime 30) \
                'warp-or-run Netscape /usr/local/bin/netscape'
          
          This would do the following, when mouse button 1 is pressed
          on the specified button:

          1. Change the relief of the button to indicate that
              something is happening.

          2. Execute the specified function (not necessarily an
              Exec). In this case, "warp-or-run" will either warp to
              the specified window if it exists, or will run the
              command if there is no Netscape window.

          3. Hangon "Netsacpe" -- When a new window called "Netscape"
              is mapped, change the relief of the button back to its
              default state.

          4. HangTime 30 -- Set the relief of the button back to its
              default state, if it hasn't already done so via the
              Hangon title, after 30 seconds.


-- 
(void) lar3ry();                                      gensch_at_zk3.dec.com
     "Sometimes it happens.  People just explode.  Natural causes."
--
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 02 1998 - 09:12:42 BST

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