TIP #152: NEW -DETAIL OPTION FOR TK_MESSAGEBOX ================================================ Version: $Revision: 1.7 $ Author: Mats Bengtsson State: Final Type: Project Tcl-Version: 8.5 Vote: Done Created: Tuesday, 26 August 2003 URL: https://tip.tcl-lang.org152.html Post-History: Obsoletes: TIP #25 ------------------------------------------------------------------------- ABSTRACT ========== This TIP proposes a new option for the *tk_messageBox* for text that is less significant than the *-message* text. RATIONALE =========== Several platforms have a native feature of alert dialogs that includes messages with both a bold or large font, and a text in fine print, which gives more detail to the actual message. Both Mac OS 8/9 and Mac OS X include such a feature. This TIP suggests that this should be intruduced on all platforms, with the text to be displayed in that format specified using a new option *-detail*. In those cases where it is not straightforward to distinguish between the *-message* and *-detail* option contents, they should be combined into a single piece of text in a way that makes sense on the platform. REFERENCE IMPLEMENTATION ========================== The proposed change is now implemented as a loadable extension (in C) on Mac OS X []. The following images show the present (8.4.4) message box on AquaTk, and the proposed one. +.-,------------------------------+ ||!| This is the current (8.4.4) | |`-' message box on AquaTk. Nice? | | [ OK ] [ Cancel ] | +---------------------------------+ This is the present tk_messageBox. ============================================= | ___ | | / \ This is the proposed message box. | | | ! | | | \___/ This text is in a smaller font. | | [ Cancel ] [ OK ] | +-------------------------------------------+ This is the native tk_messageBox. COPYRIGHT =========== This document has been placed in the public domain ------------------------------------------------------------------------- TIP AutoGenerator - written by Donal K. Fellows