Re: FVWM: autohide for buttons?

From: Dominik Vogt <dominik.vogt_at_fvwm.org>
Date: Mon, 8 Nov 1999 13:51:24 +0100

On Sat, Nov 06, 1999 at 03:06:36PM -0200, luiscyama_at_uol.com.br wrote:
> Hello,
> I am using fvwm-2.3.9 and I made FvwmButtons as a long bar. It is "stick" on my screen and FvwmButtons is not necessary all time
> to me. I thought if one could simulate the AutoHide (from taskbar) behavior for FvwmButtons or if this feature could be (or already
> is) in your feature-wished list.

This feature will probably added in the future in a more versatile way
(allowing to auto-hide any window, not just FvwmButtons). I
experimented a bit with FvwmEvent and could roughly get the behaviour
you want. My config looks like this:

  *FvwmButtonsGeometry 600x57+0-0
  ...
  *FvwmEvent focus_change "function showhidebuttons"
  ...
  AddToFunc showhidebuttons
  + "I" next (FvwmButtons) move 0p +765p
  + "I" current (FvwmButtons) move +0 -0

  AddToFunc InitFuction
  + "I" module FvwmEvent
  AddToFunc RestartFuction
  + "I" module FvwmEvent

My screen is 1024x768 pixels. When any window gets focus, the
button bar will be moved down so that only a few pixels remain
visible. When FvwmButtons gets focus, it's moved back into view.
This works only with MosueFocus and SloppyFocus. If you have a
swallowed modules in the button bar that can set focus they will
not work properly. And you will see the button bar reaching into
lower pages on a pager.

Bye

Dominik ^_^

-- 
Dominik Vogt, Agilent Technologies, Dept. BVS
Herrenberger Str.130, 71034 Boeblingen, Germany
phone: 07031/464-4596, fax: 07031/464-3883, dominik_vogt_at_agilent.com
--
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 Mon Nov 08 1999 - 06:51:25 GMT

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