<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE TIP SYSTEM "http://tcl.activestate.com/cgi-bin/tct/tip/tipxml.dtd">
<!-- Converted at Wed May 16 19:57:01 GMT 2012 -->
<!-- TIP AutoGenerator - written by Donal K. Fellows -->

<TIP number='152'>
<header><title>New -detail Option for tk_messageBox</title><author address="mailto:matben@privat.utfors.se">Mats Bengtsson</author><status type='project' state='final' tclversion="8.5" vote='after'>$Revision: 1.7 $</status><history></history><created day='26' month='aug' year='2003' /><keyword>Tk</keyword><obsoletes tip='25'/></header>
<abstract>This TIP proposes a new option for the <emph style="bold">tk_messageBox</emph> for text that is less significant than the <emph style="bold">-message</emph> text.</abstract>
<body><section title="Rationale">
<para>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 <emph style="bold">-detail</emph>. In those cases where it is not straightforward to distinguish between the <emph style="bold">-message</emph> and <emph style="bold">-detail</emph> option contents, they should be combined into a single piece of text in a way that makes sense on the platform.</para>
</section>
<section title="Reference Implementation">
<para>The proposed change is now implemented as a loadable extension (in C) on Mac OS X [<url ref="http://hem.fyristorg.com/matben/download/MovableAlerts.dmg"/>].</para>
<para>The following images show the present (8.4.4) message box on AquaTk, and the proposed one.</para>
<image src="152before" caption="This is the present tk_messageBox." />
<image src="152after" caption="This is the native tk_messageBox." />
</section>
<section title="Copyright">
<para>This document has been placed in the public domain</para>
</section>
</body></TIP>

