Thanks, it's exactly what I needed.
Gerardo
On Tue, 7 Aug 2007, Cameron Laird wrote:
> On Tue, Aug 07, 2007 at 11:08:30AM -0400, Gerardo Juarez wrote:
> .
> .
> .
> > I would like to know if there is
Hi,
I would like to know if there is a way to trap the kill button event in a
Toplevel window. I'm having problems with a dialog which has a "Close"
button, but users keep closing it with the kill button (the big X at the
upper right corner). After such a close, the application refuses to
re-
Use a Toplevel window, display your dialog there and add a button whose
command is "withdraw". Like this:
def winmsg(s):
w = Toplevel()
Label(w, text=s, relief='groove').pack(padx=10, pady=5)
Button(w, text='Ok', command=w.withdraw).pack(pady=5)
Every time I call winmsg() with a mes
ions under which something like could
happen? Have you seen this behaviour before?
Any guesses or speculations will be greatly appreciated...
Gerardo Juarez
___
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailma
Hi,
Have you verified that the shared library that can't be found is in fact
somewhere in the file system?
If this is so, its directory should be listed in /etc/ld.so.conf and I
think you have to run ldconfig as root to re-read this file. Then I would
try to rerun the installation without modi
Oooh I see! I knew it was a small thing I was overlooking. I read in
the reference "Tkinter variable", but I never gave it the meaning it
really had. Thanks everyone!
Gerardo
On Wed, 29 Nov 2006, Fredrik Lundh wrote:
> Gerardo Juarez wrote:
>
>
> > I'm having
Hi,
I'm having problems with a widget, which I've been able to isolate to the
following example:
from Tkinter import *
def display():
global x
print x
root = Tk()
x = 0
check = Checkbutton(root, variable=x)
check.pack()
button = Button(text='Display variable', command=display)
butto
Hi,
Yes it does that. No, I don't know what causes it but it seems to be an
interaction with the OS. I assume you are using IDLE.
Have you tried Shell/Restart Shell (Ctrl+F6)? It has worked for me most of
the times. It is interesting that an application using several threads
seems easier to
Are permissions handled the same as Unix on OS X? I remember you had to do
something using the xhost command. Check if this is so. Another
possibility is the configuration of the graphic server, which I don't know
to what extent is compatible with X11.
Gerardo
On Mon, 30 Oct 2006, Jose Hales-
Hola Jose,
As far as I know, there is nothing non-standard in Tkinter or the
underlying Tk library with respect to X11. Any application written for X11
should display if there is an X server available. What usually happens is
that the application/originating host do not have the authorization
n my example below, as long
> as you have a variable pointing to the window you can call the deiconify
> at any time. If there is a simple minimize instead of hide...I don't
> remember what that function is.
>
> B
>
> -Original Message-
> From: [EMAIL PROTE
Sat, 16 Sep 2006, francois schnell wrote:
> On 16/09/06, Gerardo Juarez <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > An another question: how can I make this application appear on the tool
> > bar, next to the volume control, anti-virus software and similar
>
Thanks, it works, but, once the application is minimized I don't have any
way to access it -to tell it to deiconify itself for example. I doesn't
use a console window. Is killing it the only option?
Gerardo
On Fri, 15 Sep 2006, Metz, Bobby W, WWCS wrote:
> use the withdraw() function, e.g.
>
Hi,
I want a Python/Tk application to minimize itself as soon as it starts (it
acts in the background). Is there a way to make this happen?
An another question: how can I make this application appear on the tool
bar, next to the volume control, anti-virus software and similar
applications? I ha
Hi,
I need widgets which are a bit more elaborated than what Tk offers as
standard. I checked Tix and it works well in Linux. The problem is with
Windows, because the Tix documentation says Tix is installed with 2.2.2,
the source Tix.py is broken and should be replaced with the source from
the
Hi, I'm new to the list and just writing my second application in
python/Tkinter. I have skimmed over the digests of the list but have not
found this subject discussed.
I have a Canvas and a PhotoImage displayed in it. The application draws a
number of lines and other vector-features over the ima
16 matches
Mail list logo