From: Jim I. <ji...@ap...> - 2003-12-11 19:04:27
|
Brian, On Dec 11, 2003, at 6:56 AM, Brian Griffin wrote: > >> * *#125 "wm toplevel"* - Enables many cool things (tear-off-able >> toolbars, MDI) but I'm not sure about whether it can be made to >> work across all platforms. > > I would like to open discussion on this to see if there are any more > issues and then CFV in say 3-4 weeks. As for the MAC platform, I am > planning on looking hard and this implementation in the next week, but > even failing an attempt to implement this for the MAC, I believe it's > still a reasonable addition because a) it's useful for implementing > common features found Win* and *nix and b) these same features are not > found on MAC. > Some of the Tk widgets are backed by Aqua Toolbox controls. These controls are tied to the Aqua Window in which they are drawn. To move controls from one Aqua window to another would require destroying the Aqua control, and then re-creating it in the new Aqua window you create for the frame. There isn't currently a convenient way to do this, but it shouldn't be all that hard to do. We don't store any state in the Aqua controls, and the Aqua Tk widgets are all designed to lazily create the Aqua controls when the widgets are first mapped. So you should just have to walk down the widget hierarchy and unmake the Aqua controls, then mapping the frame into a new window should cause them all to get recreated. Note that I have seldom seen Mac applications that do this sort of thing, PhotoShop added the ability to move tabs in its tabbed palette windows from one palette to another. This was actually pretty useful at times. I think that some older versions of MS Word allowed you to drag toolbars off into palettes, but the Aqua version doesn't do this. The palettes are just separate floating windows, and the documents are not adorned with a whole bunch of gadgetry... I am not so moved by this use. >> >> >> Other: >> >> * *#110 "Tristate check/radiobuttons"* - Why is this targetted at >> Tk >> 9.0? Can't we have this for 8.5? > > You are right, I just need to get my butt in gear and implement this. > Again, I'd like to call for discussion then call for vote. This one would be useful. Jim -- Jim Ingham ji...@ap... Developer Tools Apple Computer |