Re: FVWM: Re: KillModule question.

From: Patrick K. <patrick_at_mail.boxsoft.com>
Date: Thu, 30 Jul 1998 17:29:13 -0700 (PDT)

Sometime in the late 1900s it was discussed:

> > I've been looking at KillModule command for a couple of days now,
> > without being able to have it do what I thought its purpose is.
> >
> > What do I want to do?
> >
> > Well ... say I spawn two FvwmButtons modules: fb1 fb2.
> > Now say I want to kill fb2 *only* and leave fb1 "alive".
> >
> > How can this be accomplished without having to write
> > a function which would kill both and then restart fb1?

jimbo>>
> Hmmm, mayhaps I'm doing something worng, but I've modified my
> FvwmButtons module definition so that it is possible for me to have more
> than one functioning buttonbar on screen at the same time (not that I do
> this -- it is just possible). Now in my testing of the new buttonbar layout,
> I often DID end up with both on screen simultaneously. To get rid of one or
> the other (or both), I've just used the buttonbar 'kill' command -- clicked
> on it on one of the buttonbars, the cursor would change shape, and then I'd
> click again on any part of the offending buttonbar and whoof! it'd be gone.
> (Alternatively the kill cmd found in the popup menu would do as well.) I'm
> not familiar with the KillModule cmd.
<<jimbo


   Well .. yes. This does work. But I want to be able to
   do this more dynamically.

   Picture this:
   I have a standard FvwmButtons module called fb1. On this
   button set I have one button named "Servers" with a server
   icon on there.
   
   Clicking on this button will spawn a new FvwmButtons
   module named "fbServers" which will contain icons for
   each of our development servers and one button named
   "Close", or a button containing a "back arrow" icon.

   Clicking on the "back arrow" or "Close" button would
   kill that particular instance of the FvwmButtons module
   named "fbServers".

   In effect it would look like a sliding drawer of sort.

   See my point?


Patrick ...



   Pictures:


     ( fb1 module )

      +---------+
      | |
      | Restart | ( fbServers module )
      | |
      +---------+ +-----+---------+---------{ . . . }--------+
      | | | | | } { |
      | Servers <-*click* | <== | jazz | mars { } riffer |
      | | | | | } { |
      +---------+ | +-----+---------+---------{ . . . }--------+
      | | | ^
      | Xterm | | |
      | | +--> creates this -+
     ~~~~~~~~~~~~~ module
      . .
      . .
      . .

     ~~~~~~~~~~~~~
      | Shutdown|
      | |
      +---------+



     ( fb1 module )

      +---------+
      | |
      | Restart | ( fbServers module )
      | |
      +---------+ +-----+---------+---------{ . . . }--------+
      | | | | | } { |
      | Servers | | <== | jazz | mars { } riffer |
      | | *click* --> | | } { |
      +---------+ | +-----+---------+---------{ . . . }--------+
      | | | ^
      | Xterm | | |
      | | +--> kills this -+
     ~~~~~~~~~~~~~ module
      . .
      . .
      . .

     ~~~~~~~~~~~~~
      | Shutdown|
      | |
      +---------+
--
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 Jul 30 1998 - 20:17:46 BST

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