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")

Regards,

Glenn

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to