Tkinter - resize tkMessageBox
Cameron Laird
claird at lairds.us
Tue Jun 5 17:28:36 EDT 2007
In article <mailman.8693.1180993370.32031.python-list at python.org>,
jim-on-linux <inq1ltd at verizon.net> wrote:
>On Monday 04 June 2007 16:29, rahulnag22 at yahoo.com
>wrote:
>> Hi,
>> 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. Thanks
>> Rahul
>I don't know of any.
>It's a little more work but your better off using
>Toplevel and/or frame, you have more control over
>the window and its appearance.
.
.
.
Yes and no. Yes, synthesizing ones own MessageBox gives greater
control, but that becomes a non-"native" MessageBox which is
alleged to discomfort some end-users.
'Nother way to say this: tkMessageBox is implemented in terms of
native widgets, as much as possible, and native MessageBoxes on
at least some platforms do NOT provide for resizing or width
control.
More information about the Python-list
mailing list