In article <[EMAIL PROTECTED]>, I wondered:
>In article <[EMAIL PROTECTED]>,
>Glenn Hutchings <[EMAIL PROTECTED]> wrote:
>>On 4 Jun, 21:29, [EMAIL PROTECTED] wrote:
>>> Is there a way to resize the width of the "tkMessageBox.askyesno"
>>> dialog box, so that the text does not wrap to the next line.
>>
>>You can use the Tk option database, either explicitly or from a file.
>>For example, to set the wrap length of all dialogs to 10 inches, try
>>this:
>>
>> root = Tk()
>> root.option_add("*Dialog.msg.wrapLength", "10i")
> .
> .
> .
>But that does *not* affect the MessageBoxes under MacOS and Windows, right?
I apologize for my coyness. I'll be explicit: current MessageBoxes
under MacOS and Windows (but NOT X11-based MessageBoxes, as with Linux)
do NOT respect Dialog options. Tkinter will presumably build in Tile
capabilities in the future; then the default appearances may change
again.
--
http://mail.python.org/mailman/listinfo/python-list