From: Neil M. <ne...@cs...> - 2005-09-22 18:55:41
|
Kevin Walzer wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I'm wondering what the status of sheets and drawers in > ::tk::unsupported::MacWindowStyle is. I see references to sheets and > drawers in tkMacOSXWM.c, and also at the wiki > (http://wiki.tcl.tk/13428), but I'm getting various errors in trying to > create them. > > For instance, this will create a drawer that is a toplevel window: > > % toplevel .t; ::tk::unsupported::MacWindowStyle style .t drawer none > > But there doesn't seem to be a way to attach this drawer to another > window. Using "sheet" in place of "drawer" yields the same result. I created a patch to MacWindowStyle a while ago that refactored things a bit, and added some support for drawers [1]. The refactoring stuff was committed, but the drawer stuff still needs a lot of work. You can check out that patch for more details. Basically, unless someone else has done something in the meantime, drawers are not currently useable. -- Neil [1] https://sourceforge.net/tracker/?func=detail&aid=1164857&group_id=12997&atid=312997 |