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
--
When I do import tkMessageBox the Python Shell tells me that this
does not exist. Where do I find it? You may reply to my academic
email: rdrie...@nps.edu
--
http://mail.python.org/mailman/listinfo/python-list
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:
>
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", \
type=
On Thu, Aug 28, 2008 at 3:54 PM, Guilherme Polo <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 28, 2008 at 10:29 AM, <[EMAIL PROTECTED]> wrote:
>> Hi,
>> I'm working on Windows Platform
>>
>> I'm facing some problem with the tkMessageBox. My code is
On Thu, Aug 28, 2008 at 10:29 AM, <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm working on Windows Platform
>
> I'm facing some problem with the tkMessageBox. My code is as below:
>
> import tkMessageBox
> import Tix
> from Tkinter import *
>
> i
Hi,
I'm working on Windows Platform
I'm facing some problem with the tkMessageBox. My code is as below:
import tkMessageBox
import Tix
from Tkinter import *
if len(installedLibPath) != len(listOfLibraries):
if tkMessageBox.askyesno("Question", \
Il Fri, 03 Aug 2007 12:38:09 +1000, John McMonagle ha scritto:
> Fabio Z Tessitore wrote:
>> I've tried to use Twm and SURPRISE! it works!!!
>>
>> Can you say why? How can I fix the prob with Gnome?
>>
>> Thanks
>
> I don't know why it doesn't work correctly on the version of gnome which
> you
Fabio Z Tessitore wrote:
> I've tried to use Twm and SURPRISE! it works!!!
>
> Can you say why? How can I fix the prob with Gnome?
>
> Thanks
I don't know why it doesn't work correctly on the version of gnome which
you are running (I run KDE). Perhaps the question needs to be posed to
a gnome
I've tried to use Twm and SURPRISE! it works!!!
Can you say why? How can I fix the prob with Gnome?
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
Il Thu, 02 Aug 2007 13:54:46 +1000, John McMonagle ha scritto:
> What window manager are you using ?
Hi John,
I'm using gnome, with gdm. Do you think the problem is this? I'm going to
try with another one ...
bye
--
http://mail.python.org/mailman/listinfo/python-list
line 52, in show
> s = w.tk.call(self.command, *w._options(self.options))
> TclError: bad pad value "2m": must be positive screen distance
>
>
> ##
> from Tkinter import *
> from tkMessageBox import *
>
> def reply():
> sho
Il Tue, 31 Jul 2007 18:45:57 -0400, jim-on-linux ha scritto:
> Try This:
>
> def reply():
> showinfo('ciao','hello')
>
I've tried without success ... thanks
I've also discovered that when I (or some other prog using tkinter)
display menu, the underscore is an ugly little black box.
On Tuesday 31 July 2007 15:24, Fabio Z Tessitore
wrote:
> Il Tue, 31 Jul 2007 19:12:48 +, kyosohma ha
scritto:
> > I'm not sure, but I don't think you need the
> > "win" variable at all. I can get it to work
> > as follows:
> >
> >
>
Il Tue, 31 Jul 2007 19:12:48 +, kyosohma ha scritto:
>
> I'm not sure, but I don't think you need the "win" variable at all. I
> can get it to work as follows:
>
>
>
> from Tkinter import *
> from tkMessageBox import showinfo
>
> def
le "lib-tk/tkCommonDialog.py", line 52, in show
> s = w.tk.call(self.command, *w._options(self.options))
> TclError: bad pad value "2m": must be positive screen distance
>
> ##
> from Tkinter import *
> from tkMessa
*options)
File "lib-tk/tkMessageBox.py", line 75, in _show
res = Message(**options).show()
File "lib-tk/tkCommonDialog.py", line 52, in show
s = w.tk.call(self.command, *w._options(self.options))
TclError: bad pad value "2m": must be positive screen distance
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
On Jun 7, 12:01 pm, "Eric Brunel" <[EMAIL PROTECTED]> wrote:
> BTW, what are you trying to do here? Will your application run on a
> "normal" desktop computer? Or will it run on special devices such as
> vending machines or similar?
You got it: it's a special device.
> in the second case, you sho
On Thu, 07 Jun 2007 09:04:24 +0200, <[EMAIL PROTECTED]> wrote:
[snip]
> I can't believe there isn't an easier way to make a kiosk application
> without titlebar.
That's not the problem: there *is* an easy way, and you found it:
overrideredirect(1). But now you're trying to mix windows ignored by
On Jun 6, 3:38 pm, "Eric Brunel" <[EMAIL PROTECTED]> wrote:
> My only advice would then be to avoid using the standard functions to
> create dialog boxes, and to create them yourself. For example:
> --
> from Tkinter import *
[snip]
> app.roo
On Wed, 06 Jun 2007 14:26:12 +0200, <[EMAIL PROTECTED]> wrote:
>> As an aside, having a window with overrideredirect(1) creating "normal"
>> windows such as the one created via tkMessageBox.showinfo is asking for
>> problems. What are you trying to do here?
>
> I just need a window without the titl
On Jun 6, 8:55 am, "Eric Brunel" <[EMAIL PROTECTED]> wrote:
> Apparently:
Eric,
first of all, thanks!
> def hello(self):
> self.root.after_idle(self.root.lower)
> tkMessageBox.showinfo("Popup", "Hello!")
Well, this lowers the background frame but I want to keep it visible
under the pop
On Tue, 05 Jun 2007 18:18:51 +0200, <[EMAIL PROTECTED]> wrote:
> Hi everybody.
>
> I have this code snippet that shows a window without a titlebar (using
> overrideredirect) and two buttons on it: one quits and the other one
> brings up a simple tkMessageBox.
> On W
.
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, a
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 e
Hi everybody.
I have this code snippet that shows a window without a titlebar (using
overrideredirect) and two buttons on it: one quits and the other one
brings up a simple tkMessageBox.
On Windows (any flavour) the tkMessagebox brings up over the
underlying window.
On Linux (apparently any
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 1
On Monday 04 June 2007 16:29, [EMAIL PROTECTED]
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 f
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
--
http://mail.python.org/mailman/listinfo/python-list
Hendrik van Rooyen wrote:
> <[EMAIL PROTECTED]> Wrote:
> |
> | Hendrik van Rooyen wrote:
> | > <[EMAIL PROTECTED]> wrote:
> | >
> | > To:
> | >
> | >
> | > | why is the button sunken when called through a bind method, and not
> | > | with the command attribute?
> | > | Thank you!
> | > |
> | > |
t; | ## Cut'nPaste example
| > | from Tkinter import *
| > | import tkMessageBox
| > |
| > | class Vue(object):
| > | def __init__(self):
| > | self.root=Tk()
| > | self.root.title("test button visual state")
| > | self.b1=Butto
Hendrik van Rooyen wrote:
> <[EMAIL PROTECTED]> wrote:
>
> To:
>
>
> | why is the button sunken when called through a bind method, and not
> | with the command attribute?
> | Thank you!
> |
> |
> | ## Cut'nPaste example
> | from Tkinter import *
&
<[EMAIL PROTECTED]> wrote:
To:
| why is the button sunken when called through a bind method, and not
| with the command attribute?
| Thank you!
|
|
| ## Cut'nPaste example
| from Tkinter import *
| import tkMessageBox
|
| class Vue(object):
| def __init__(self):
| s
why is the button sunken when called through a bind method, and not
with the command attribute?
Thank you!
## Cut'nPaste example
from Tkinter import *
import tkMessageBox
class Vue(object):
def __init__(self):
self.root=Tk()
self.root.title("test button vi
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 hid
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
&
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 whil
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
40 matches
Mail list logo