From: Griffin, B. <bgr...@mo...> - 2004-08-26 16:23:38
|
Donal K. Fellows wrote: > Jim Ingham wrote: > >> The non-modal font panel is really useful on X. It would make the >> API's a little more complex, but it should be possible to accomodate >> both. As Mats points out, we can make the font panel modal - and >> there are some apps, particularly Carbon ones - that do post the Font >> menu modally, so we would not be out of bounds... OTOH, it would be >> nice to offer the capability for Mac OS X & probably also X11 to have >> a non-modal one. Perhaps you could include a test for whether the >> non-modal one is available? > > > The problem with a non-modal font dialog/panel is that the native Win > font selector dialog is quite thoroughly modal. (On UNIX, we'd do a > scripted version and so picking one way or another is no big deal.) > > Since we've got "fundamentally modal" vs. "fundamentally non-modal", > we've got to an impasse. Yuck. Time to seek input from the other > community... Let's break this down and look at the problem at the molecular level. We've got a combo box listing the names of fonts. We have another combo box listing the font sizes. Then there's the checkbuttons for bold, italic, and underline. All of these pieces appear in toolbars in X11/MacOSX/Windows and they are non-modal. Next, we take the main ingredients and mix them up into a dialog box. On Windows, the rule is that all dialog boxes are modal. Windows apps. are fairly rigorous in following that rule, and so are MacOSX apps, but the difference is that Mac apps tend to use more palettes (floating toolbars) and less dialog boxes. So, where am I going with this? Maybe we should take the approach of creating simpler building blocks first and work our way up to a dialog box or a palette or a toolbar. Just a thought... -Brian > > > Donal. > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Tcl-Core mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-core > -- ------------------------------------------------------------- -- Model Technology Inc. -- -- 8005 SW Boeckman Road 503.685.7000 tel -- -- Wilsonville, OR 97070 USA 503.685.0921 fax -- ------------------------------------------------------------- -- Technical support ............ mailto:su...@mo... -- -- Sales and marketing info ....... mailto:sa...@mo... -- -- Licensing .................... mailto:li...@mo... -- -- Home Page ........................ http://www.model.com -- -- AIM ........................................ bgriffin42 -- ------------------------------------------------------------- |