Panel Autohide
Jasper Huijsmans
jasper at moongroup.com
Wed Mar 19 00:24:50 CET 2003
On 18 Mar 2003 21:38:16 +0100
Olivier Fourdan <fourdan at xfce.org> wrote:
> Hi all,
>
> I agree on the panel autohide feature. It should hide to the top,
> left, right or bottom depending on screen location and panel.
>
hmm, you mean simply hiding to the nearest edge? left/right for
vertical mode and top/bottom for horizontal I presume. Interesting.
Erik are you still interested in trying to implement this? I would like
to see if this works. The way I think this could work:
1 - panel loses focus (no part of the panel has focus)
2 - start timeout (say 0.5 sec)
3 - if still unfocussed -> hide panel.
The way to do the hiding I think is to use a separate window of 1 pixel
wide on the nearest edge and catch mouse entry events to trigger the
unhide. It can either be a visible window with equal height or width as
the panel or an invisible input-only window (is this GtkInvisible?).
Jasper
More information about the Xfce4-dev
mailing list