Try
import tkinter.messagebox as tkMessageBox
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Oct 18, 2010 at 11:32 AM, richard wrote:
> When I do import tkMessageBox the Python Shell tells me that this
> does not exist. Where do I find it?
What OS are you using? How did you install Python? Can you `import Tkinter`?
Cheers,
Chris
--
http://blog.rebertia.com
--
http://mail.py
On Mon, Sep 1, 2008 at 3:35 PM, <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using a TkMessageBox for handling some errors and displaying them
> through the message boxes.
>
> My code is as below:
> if selectedVer == strNoArchivedResults:
>tkMessageBox._show("Error", \
>
Harlin Seritt wrote:
> >From what I've seen I'm afraid this is the way it is. If you call an
> instance of tkMessageBox and you don't have a 'master' Tk instance
> running, it will create its own.
>
> Still, I'm sure with a bit of voodoo you can hide the self created tk
> window while showing the
Nathan wrote:
> Hi,
>
> I've been testing the standard dialog boxes in tkMessageBox under
IDLE.
> If I type for example, tkMessageBox.askyesno('test', 'test'), the
dialog box
> comes up fine but another window also appears. I'm guessing this is
the
> parent window of the message box. If I click on
Nathan,
>From what I've seen I'm afraid this is the way it is. If you call an
instance of tkMessageBox and you don't have a 'master' Tk instance
running, it will create its own.
Still, I'm sure with a bit of voodoo you can hide the self created tk
window while showing the message box. If you find