[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-devel
Subject: Re: Sheet and Drawer widgets
From: Shaun McCance <shaunm () gnome ! org>
Date: 2004-07-20 6:52:42
Message-ID: 1090306362.4545.24.camel () cornholio ! housenet ! net
[Download RAW message or body]
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
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic