[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fvwm
Subject:    Re: FVWM: swallowing iconified apps
From:       Gary Sargent <gary.sargent () gecm ! com>
Date:       1997-05-30 7:43:55
[Download RAW message or body]

> Did anyone get an answer to how to make FvwmButtons swallow an iconified 
> application??? 
>  
> I'd like to swallow rclock iconified so that it will display the clock as well 
> as the date. 
>  

I needed to do this because we use a mail program called 'Mailworks', which when
iconified shows you a dog with mail in its mouth if you get new mail (!!??!!).
The only way I could think to do it is to use an FvwmIconBox. I swallow this in
my FvwmButtons and ensure that only the one icon I want is present in the
icon box. Here's what I used (fvwm 2.0.45):

  For my button bar:

     *IconBar(Frame 0, Swallow(Respawn) "IMailBox" "IMailBox")

  For my FvwmIconBox (called IMailBox ie I have a soft link from IMailBox to
  FvwmIconBox):

     *IMailBox "nedit*" -

and styles:

     Style "*"                       Icon xterm.xpm
     Style "MailWorks*Browser*"      NoIcon
     Style "nedit"                   NoIcon

nedit and mailworks are the only two apps I have in iconbox's. I disclude the nedit
ones from my IMailBox and the mailworks ones from the other to ensure I don't
have duplicates.

Now when I double click on the icon (in the button bar) the icon remains iconified
but the window expands - so I have the icon and the window. I only ever start the
program once (done in a seperate script - but this could be done within a function
or something).

I suppose you could use "*" to disclude all icons and then add a specific one
(rclock).

Hope this helps,

Gary Sargent.

--
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@hpc.uh.edu.
To report problems, send mail to fvwm-owner@hpc.uh.edu.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic