Re: FVWM: Hide command

From: Marcus Lundblad <ml_at_update.uu.se>
Date: Wed, 6 Mar 2002 15:33:18 +0100 (CET)

On Wed, 6 Mar 2002, Dominik Vogt wrote:

> On Tue, Mar 05, 2002 at 11:51:08PM +0100, Marcus Lundblad wrote:
> > I have a suggestion for a new command:
> > Hide
> > This would hide a window. Yes I know it's possible to specify that certain
> > (or all) windows should not have an icon. But I got an idea to have an
> > option (in the root menu for example) to hide my pager, but still it could
> > be handy somtimes to be able to do a normal iconification.
>
> You can put windows on an unused desk to hide them:
>
> MoveToDesk 0 -123456
>
> and to show them again:
>
> MoveToDesk
>
> Is that good enough?

Yes. That'll do.
I was thinking in the lines of using Style NoIcon / Style Icon, to turn
off/on icons
Something like ("pseudo code").
function Hide
        Style desired_window NoIcon
        Iconify desired_window true

function Unhide
        Style desired_window Icon
        Iconify desired_window false

but I didn't find a way to make this wok for arbitrary windows.
So, I think your solution is more than adequate.

Thanks!

>
> Bye
>
> Dominik ^_^ ^_^
>
> --
> Dominik Vogt, dominik.vogt_at_gmx.de
> Reply-To: dominik.vogt_at_gmx.de
> --
> 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.
>

--
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 Wed Mar 06 2002 - 08:33:38 GMT

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