Re: Sheet and Drawer widgets



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]