Re: Sheet and Drawer widgets
- From: Shaun McCance <shaunm gnome org>
- To: Havoc Pennington <hp redhat com>
- Cc: Owen Taylor <otaylor redhat com>, gtk-devel-list gnome org, gtk-list gnome org
- Subject: Re: Sheet and Drawer widgets
- Date: Tue, 20 Jul 2004 01:52:42 -0500
On Sat, 2004-07-17 at 22:53 -0400, Havoc Pennington wrote:
> Hi,
>
> Don't rule out extending the window manager spec (EWMH) to make this
> work; my guess is that it's going to be necessary to get all the details
> right.
>
> One line of thought along these lines is a window manager hint that
> essentially "binds" two windows together at an anchor point (e.g. "left
> side of this window goes to right side of this other window").
> This could cover both sheets and drawers.
>
> Also you could have a _NET_WM_WINDOW_TYPE_DRAWER,
> and _NET_WM_WINDOW_STATE_DRAWER_OPEN, things like that.
>
> By putting the drawer open/close process in the WM, it can be animated
> nicely.
>
> The WM could draw the frame around the drawer and integrate it into the
> overall window frame.
That's the approach I took when I did drawers in Metacity last year.
http://mail.gnome.org/archives/desktop-devel-list/2003-October/msg00710.
html
That code is massively bitrotted, but it's totally doable.
--
Shaun
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]