Il 17/01/19 14:08, Peter Otten ha scritto:
Alternatives:
- If you know that you'll always just call pack() you can change the
make_entry() method accordingly
def make_entry(...):
...
entry.pack()
return entry
- Write a helper function
def pack(widget):
widget.pack()
steve wrote:
> Il 17/01/19 14:08, Peter Otten ha scritto:
>
>> Two remarks:
>>
>>> self.id1_entry = self.make_entry(self.parent, maxlen=1).pack()
>>
>> You set all idX_entry attributes to None, as that's what pack() returns.
>
> you mean..
>
> self.idx_entry = self.make_entry(self.p
Il 17/01/19 14:08, Peter Otten ha scritto:
Two remarks:
self.id1_entry = self.make_entry(self.parent, maxlen=1).pack()
You set all idX_entry attributes to None, as that's what pack() returns.
you mean..
self.idx_entry = self.make_entry(self.parent, width=50, maxlen=30,
highligh
steve wrote:
> Il 16/01/19 08:51, Peter Otten ha scritto:
>
>> def make_ui(self):
>> ''' create user interface '''
>>
>> def vcmd(maxlength):
>> return self.parent.register(
>> partial(self.maxlength_validate, maxlength=maxlength)
>>
Il 16/01/19 08:51, Peter Otten ha scritto:
def make_ui(self):
''' create user interface '''
def vcmd(maxlength):
return self.parent.register(
partial(self.maxlength_validate, maxlength=maxlength)
), "%P"
...
ok following your
steve wrote:
> for determine the maximum number of characters in an entry
>
> I have read several interpretations for the solution of the problem, but
> I wanted to find an alternative way (for convenience of the code)
>
> I kindly ask for an opinion on the use of validation in this way.
>
> --
On 15/01/2019 14:16, Rick Johnson wrote:
steve wrote:
Then it's just a matter of passing a keyword argument:
myEntry = MyEntry(master, maxlen=20)
What you have above is a tightly coiled, steaming dogpile that will litter your
code base. Encapsulate that stench, would ya?
sure, everyth
for determine the maximum number of characters in an entry
I have read several interpretations for the solution of the problem, but
I wanted to find an alternative way (for convenience of the code)
I kindly ask for an opinion on the use of validation in this way.
-
problem: limit number
In article ,
best_...@yahoo.com says...
[snip]
> Anyway, I am happy with the outcome even though I have
> not found a way to detect when the program is force
> killed. It is unlikely that would ever occur as long
When your peogram starts, have it create
a small file. As part of your graceful
s
On Tue, 23 Feb 2016 16:19:43 -0600, Wildman wrote:
>
Thanks to Christian and Chris. You both gave me much
to think about and to experiment with. That adds to
my on-going learning experience.
This is the first thing I tried:
The Exit button has this: command=self.quit
Then I have this:
def
On Tue, Feb 23, 2016 at 2:19 PM, Wildman via Python-list <
python-list@python.org> wrote:
> I am familiar with OO programming but I am new to Python
> and Tkinter. I am working on a gui program that creates
> a couple of temporary files. As part of the Exit button
> command they are deleted. If
Am 23.02.16 um 23:19 schrieb Wildman:
I am familiar with OO programming but I am new to Python
and Tkinter. I am working on a gui program that creates
a couple of temporary files. As part of the Exit button
command they are deleted. If the program is shut down
using the window close button [X]
I am familiar with OO programming but I am new to Python
and Tkinter. I am working on a gui program that creates
a couple of temporary files. As part of the Exit button
command they are deleted. If the program is shut down
using the window close button [X], the exit button code
is not executed a
eb303 wrote:
On Apr 23, 1:58 pm, Rotwang wrote:
[...]
I didn't. How do I get Python to display the draw window, other than by
using mainloop()?
Well, mainloop doesn't actually display anything. It's just the event
loop for tk. So since you run your program within IDLE, there is
already one
On Apr 23, 1:58 pm, Rotwang wrote:
> eb303 wrote:
> > On Apr 22, 5:55 pm, Rotwang wrote:
>
> >> [...]
>
> > From my experience, mixing Tkinter with threads is a bad idea. As most
> > GUI toolkits, it really doesn't like to be manipulated from different
> > threads, so you might end up getting wei
eb303 wrote:
On Apr 22, 5:55 pm, Rotwang wrote:
[...]
From my experience, mixing Tkinter with threads is a bad idea. As most
GUI toolkits, it really doesn't like to be manipulated from different
threads, so you might end up getting weird problems or even crashes.
By the way, did you try to
On Apr 22, 5:55 pm, Rotwang wrote:
> James Mills wrote:
> > On Wed, Apr 21, 2010 at 8:45 PM, Rotwang wrote:
>
> >> [...]
>
> >>From reading the documentation myself (pydoc)...
>
> > It would seem your only option is to make a thread
> > out of this (not my preferred way - I was hoping it was
> >
eb303 wrote:
On Apr 21, 12:45 pm, Rotwang wrote:
[...]
Just run your program directly, either from a terminal or a DOS
console or by double-clicking on it in a file manager if the proper
file associations have been defined (they are by default on Windows).
Thanks for the suggestion, but I
James Mills wrote:
On Wed, Apr 21, 2010 at 8:45 PM, Rotwang wrote:
[...]
From reading the documentation myself (pydoc)...
It would seem your only option is to make a thread
out of this (not my preferred way - I was hoping it was
possible to poll the Tk event system...).
Thanks, I don't
On Apr 21, 12:45 pm, Rotwang wrote:
> Apologies in advance if this is a totally stupid question, I've tried
> looking at the Tkinter documentation on the web but since I'm something
> of an ignoramus when it comes to programming generally I didn't
> understand what I was reading. Anyway...
>
> I'v
On Wed, Apr 21, 2010 at 8:45 PM, Rotwang wrote:
> def draw(self, w, h):
> out = Tkinter.Canvas(width = w, height = h)
> # a load of out.create_line(...)'s go here
> out.pack()
> out.mainloop()
>
> It works, but the problem is that I can't do anything else with IDLE unti
Apologies in advance if this is a totally stupid question, I've tried
looking at the Tkinter documentation on the web but since I'm something
of an ignoramus when it comes to programming generally I didn't
understand what I was reading. Anyway...
I've written a module that allows me to manipul
On Oct 26, 7:02 am, "Chuckk Hubbard" <[EMAIL PROTECTED]>
wrote:
> Hello.
> How about this? I changed the if statements so the coordinates are
> always updated, but only changed if within the right limits, otherwise
> updated to the existing value. Now if you drag outside the limits of
> one dimen
On Oct 26, 7:02 am, "Chuckk Hubbard" <[EMAIL PROTECTED]>
wrote:
> Hello.
> How about this? I changed the if statements so the coordinates are
> always updated, but only changed if within the right limits, otherwise
> updated to the existing value. Now if you drag outside the limits of
> one dimen
Hello.
How about this? I changed the if statements so the coordinates are
always updated, but only changed if within the right limits, otherwise
updated to the existing value. Now if you drag outside the limits of
one dimension, it still moves in the other dimension. Not sure if
that's what you
hi all,
could anyone post an example how to redirect text output (stdout) to
Text widget?
Thank you in advance,
Dmitrey.
--
http://mail.python.org/mailman/listinfo/python-list
I saw this (close to this anyway) lieing around on the internet and
was wanting to use it to define a start point exc but I need the
graphics to stay within a set y coords and I am not realy sure how to
do that. I have no idea on how to bind a min/max y to it. (the
concept is inspired by the java
> -Original Message-
> From: Kevin Walzer
>
> See
http://www.codebykevin.com/blosxom/business/phynchronicity-new.png:
> this is an application I develop. The layout is all handled by "pack"
> and paned windows. Where you you use "grid" in a layout like this?
>
I'd use a three row grid, w
On Sun, 07 Oct 2007 18:09:16 +0200, Kevin Walzer <[EMAIL PROTECTED]>
wrote:
> Hendrik van Rooyen wrote:
>> "Kevin Walzer" <[EMAIL PROTECTED]> wrote:
>>
>>> I find "pack" to be more flexible than "grid," so I prefer it for
>>> complex layouts. "grid" is better for simple layouts.
>> *does a dou
Kevin Walzer wrote:
> Well, I guess it depends on your viewpoint. I find "pack" flexible
> because it allows me to think in terms of top, bottom, right, and left
> in terms of arranging UI elements--it's an elegant way to do it in my
> view. I tend to use "grid" if I have, say, a window with se
Hendrik van Rooyen wrote:
> "Kevin Walzer" <[EMAIL PROTECTED]> wrote:
>
>> I find "pack" to be more flexible than "grid," so I prefer it for
>> complex layouts. "grid" is better for simple layouts.
>
> *does a double take* are you serious? - my experience is that
> pack is only good for simple
"Kevin Walzer" <[EMAIL PROTECTED]> wrote:
> I find "pack" to be more flexible than "grid," so I prefer it for
> complex layouts. "grid" is better for simple layouts.
*does a double take* are you serious? - my experience is that
pack is only good for simple single row or single column stuff.
-
Eric Brunel wrote:
> On Fri, 05 Oct 2007 14:10:57 +0200, Kevin Walzer <[EMAIL PROTECTED]>
> wrote:
>> "expand = 1" == "expand=TRUE"--that means the widget resizes itself
>> when the window is re-sized.
>
> That's the theory... But what does fill=BOTH means then? And why does
> expand=1 (or TRU
On Fri, 05 Oct 2007 14:10:57 +0200, Kevin Walzer <[EMAIL PROTECTED]>
wrote:
> "expand = 1" == "expand=TRUE"--that means the widget resizes itself
> when the window is re-sized.
That's the theory... But what does fill=BOTH means then? And why does
expand=1 (or TRUE, or True) is only needed i
>
> try to change listbox.pack() to listbox.pack(expand=True, fill=BOTH)
> .. is it that you want ?
Yes.
>
> -mykhal
Worked with TRUE all uppercase.
Exactly what I needed. Thank you.
--
http://mail.python.org/mailman/listinfo/python-list
Eric Brunel wrote:
>
> BTW, even for something that simple, using the grid geometry manager may
> be easier... It is at least easier to explain: don't ask me what the
> expand=1 option means, I never understood it... I just add or remove it
> when the pack doesn't do what I want. The sticky op
On Thu, 04 Oct 2007 20:16:14 -0700, goldtech wrote:
> This works OK. But I notice that if I enlarge the window after the
> script has run, the white listbox only gets "so" big while the grey
> background enlarges.
>
> Is there a way to have it all white when I enlarge a window - like
> what norma
On Fri, 05 Oct 2007 05:16:14 +0200, goldtech <[EMAIL PROTECTED]>
wrote:
> This works OK. But I notice that if I enlarge the window after the
> script has run, the white listbox only gets "so" big while the grey
> background enlarges.
>
> Is there a way to have it all white when I enlarge a windo
This works OK. But I notice that if I enlarge the window after the
script has run, the white listbox only gets "so" big while the grey
background enlarges.
Is there a way to have it all white when I enlarge a window - like
what normally happens?
from Tkinter import *
root = Tk()
root.title("Dir
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote:
> Eric Brunel wrote:
>
> > But Hendrik's solution is better, since it avoids the use of lambda, which
> > is often difficult to understand.
>
> storing the button reference in a variable doesn't help if you want to use the
> same callback for multiple b
Thanks for everybody's advice, on both forums (tkinter-discuss & python-list).I end up using Fredrik's Lundh solution, since, in my project, multiple buttons are using the same callback, and their creation is controlled by the interaction with the user.Thanks again,Sorin--
http://mail.python.org/m
Eric Brunel wrote:
> But Hendrik's solution is better, since it avoids the use of lambda, which
> is often difficult to understand.
storing the button reference in a variable doesn't help if you want to use the
same callback for multiple buttons, though...
--
http://mail.python.org/mailman
On Tue, 24 Oct 2006 07:48:51 +0200, Hendrik van Rooyen
<[EMAIL PROTECTED]> wrote:
> Sorin Schwimmer wrote:
> Hi All,
>
> Is it possible to have a widget id while it is created?
> Something like this:
>
> Button(root, text='...', command= lambda v=: fn(v)).grid()
>
> and then the function:
>
> d
Sorin Schwimmer wrote:
Hi All,
Is it possible to have a widget id while it is created?
Something like this:
Button(root, text='...', command= lambda v=: fn(v)).grid()
and then the function:
def fn(v):
v['bg']='BLUE' # or maybe nametowidget(v)['bg']='BLUE'
Thanks,
Sorin
- just give the t
Hi All,Is it possible to have a widget id while it is created?Something like this:Button(root, text='...', command= lambda v=: fn(v)).grid()and then the function:def fn(v): v['bg']='BLUE' # or maybe nametowidget(v)['bg']='BLUE'Thanks,Sorin--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 04 Jul 2006 05:02:39 +0200, jkuo22 <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> Here is my simple Tkinter script:
>
> ## start of entry.py
> from Tkinter import *
> root=Tk()
> e1=Entry(root, width=16)
> e1.pack()
> e2=Entry(root, width=16)
> e2.pack()
> mainloop()
> ## end
>
> First, it
Hi everyone,
Here is my simple Tkinter script:
## start of entry.py
from Tkinter import *
root=Tk()
e1=Entry(root, width=16)
e1.pack()
e2=Entry(root, width=16)
e2.pack()
mainloop()
## end
First, it works on win2k. When I run it as 'python entry.py' on linux,
both 'e1' and 'e2' appear perfectly e
Hi everyone,
Here is my simple Tkinter script:
## start of entry.py
from Tkinter import *
root=Tk()
e1=Entry(root, width=16)
e1.pack()
e2=Entry(root, width=16)
e2.pack()
mainloop()
## end
First, it works on win2k. When I run it as 'python entry.py' on linux,
both 'e1' and 'e2' appear perfectly e
python programming newb wrote:
>
> I'm new to python and tkinter. I'm trying to write a program that
> opens the root window with a button that then opens a toplevel window
> that then has it's own widgets. I can get the new toplevel window to
> open but none of the widgets appear. The console gi
python programming newb wrote:
> Hi all, first post.
>
> I'm new to python and tkinter. I'm trying to write a program that
> opens the root window with a button that then opens a toplevel window
> that then has it's own widgets. I can get the new toplevel window to
> open but none of the widgets
Hi all, first post.
I'm new to python and tkinter. I'm trying to write a program that
opens the root window with a button that then opens a toplevel window
that then has it's own widgets. I can get the new toplevel window to
open but none of the widgets appear. The console gives me:
AttributeEr
Update: I found a way to do what I want with RadioButton with option
indicatoron=0 which creates a bunch of what looks like regular buttons
except that when one is pressed the other one is depressed and the
value of the same variable is changed.
Thanks dear me.
[EMAIL PROTECTED] wrote:
> Hi, I'd
Hi, I'd like to create buttons on the fly that will call the same
function, and the function in question has to know what was the name of
the button that called it. Unless there is a preferred way for doing
this.. Perhaps creating a new function on the fly along with the new
button? Please help.. t
On Wed, 2006-05-31 at 11:37 -0400, david brochu jr wrote:
> I am trying to create a GUI that will display a new window with
> information about my program when the user clicks on the info button
> (a green "i" bitmap). So far all I can get my program to do is show
> the new window (using Toplevel()
I am trying to create a GUI that will display a new window with information about my program when the user clicks on the info button (a green "i" bitmap). So far all I can get my program to do is show the new window (using Toplevel() ) when the program loads, not when the user presses the informati
On 30 Mar 2006 15:11:19 -0800, <[EMAIL PROTECTED]> wrote:
>> If you just create
>> a Toplevel and populate it with widgets, it will just display once the
>> control is returned to the Tkinter mainloop and no user input will be
>> needed.
>
> Thanks for explaining that. I borrowed the "after" method
>If you just create
>a Toplevel and populate it with widgets, it will just display once the
>control is returned to the Tkinter mainloop and no user input will be
>needed.
Thanks for explaining that. I borrowed the "after" method that you used
in your first reply. It seems to do what I want (excep
(Please quote a part of the message you're replying to; I had problems
figuring out you were replying to my post...)
On 29 Mar 2006 14:08:02 -0800, <[EMAIL PROTECTED]> wrote:
> Ultimately what I am trying to is create a public computer session
> manager.
>
> 1) User logs in and main application
Ultimately what I am trying to is create a public computer session
manager.
1) User logs in and main application window is withdrawn (easy)
2) After (for example) 55 minutes - a warning window/dialoguebox
"session will end in 5 minutes"
3) With 30 seconds to go - a warning window/dialoguebox "ses
On 27 Mar 2006 15:15:05 -0800, <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have a tkinter question. In the following script the window will not
> display until the script has finished executing. It appears at the same
> time as the output "script finished". How can I make
Hi
I have a tkinter question. In the following script the window will not
display until the script has finished executing. It appears at the same
time as the output "script finished". How can I make it appear
immediately, with the output "script finished" appearing 5 seconds
headspin wrote:
> I know how to switch a label from text to an image; simply config the
> image property to an existing image.
>
> But how do you do the opposite? Once a label displays an image, how do
> you switch it back to displaying text? Setting the image property to
> None doesn't seem to do
I know how to switch a label from text to an image; simply config the
image property to an existing image.
But how do you do the opposite? Once a label displays an image, how do
you switch it back to displaying text? Setting the image property to
None doesn't seem to do the trick.
By the way, I i
Fredrik Lundh wrote:
> [EMAIL PROTECTED] wrote:
>
>
>>Thanks for all the help guys... I'm a bit confused as to the inner
>>workings of the Tkinter system (I'm both a Python and a GUI n00b). I was
>>hoping that by slapping the x on button python was doing some cool
>>dynamic variable creation (i.e
Peter Otten wrote:
> Change the above function to
>
> def callback(text=text):
> self.pressed(text)
argh!
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
> note that you're assigning all buttons to the same instance variable, so
> even if the above did work, it would always return a plus.
>
> since the command callback doesn't know what widget it was called
> from, you need to create a separate callback for each widget. here'
[EMAIL PROTECTED] wrote:
> Thanks for all the help guys... I'm a bit confused as to the inner
> workings of the Tkinter system (I'm both a Python and a GUI n00b). I was
> hoping that by slapping the x on button python was doing some cool
> dynamic variable creation (i.e. creating 9 variables with
Title: Tkinter Question
Thanks for all the help guys… I'm a bit confused as to the inner workings of the Tkinter system (I'm both a Python and a GUI n00b). I was hoping that by slapping the x on button python was doing some cool dynamic variable creation (i.e. creating 9 variab
[EMAIL PROTECTED] wrote:
> I'm sure there must be a way to do this, but I can't figure it out for
> the life of me... I'm writing a program where I would like to use a
> button's text field as part of an if statement. I set up my button like
> this:
>
> i = [ "7", "8","9", "/", "4", "5", "6", "*"
[EMAIL PROTECTED] wrote:
[I didn't see the original post, so just in case noone mentioned it]
> if(self.buttonx.title.isdigit):
Nicholas, the method is not called unless you add parentheses, e. g:
>>> "1".isdigit # a bound method *always* True in a boolean context
>>> "1".isdigit() # True only
I realise I was a bit short on advice earlier...
Martin Franklin wrote:
> [EMAIL PROTECTED] wrote:
>
>>I'm sure there must be a way to do this, but I can't figure it out for
>>the life of me… I'm writing a program where I would like to use a
>>button's text field as part of an if statement. I
[EMAIL PROTECTED] wrote:
> I'm sure there must be a way to do this, but I can't figure it out for
> the life of me… I'm writing a program where I would like to use a
> button's text field as part of an if statement. I set up my button like
> this:
>
> i = [ "7", "8","9", "/", "4", "5", "6", "*
Title: Tkinter question
I'm sure there must be a way to do this, but I can't figure it out for the life of me… I'm writing a program where I would like to use a button's text field as part of an if statement. I set up my button like this:
i = [ "7", "
Hello Nick,
> """
> What I want: A little window to open with a 0 in it. Every second, the
> 0 should increment by 1.
> What I get: A one second delay, see the window with a 1 in it, and then
> nothing appears to happen. Never see the 0, never see a 2. Any quick
> clues? Thanks. Nick. (Python 2.4
***Many*** thanks. I was getting right confused, but this is pretty
clear. I had also tried, in run(...):
while True:
sleep(1.0)
...
But it's clear from your response why this also didn't work!
Nick.
--
http://mail.python.org/mailman/listinfo/python-list
Mediocre Person wrote:
What I want: A little window to open with a 0 in it. Every second, the
0 should increment by 1.
What I get: A one second delay, see the window with a 1 in it, and then
nothing appears to happen. Never see the 0, never see a 2. Any quick
clues? Thanks. Nick. (Python 2.4, Win9
[EMAIL PROTECTED] wrote:
"""
What I want: A little window to open with a 0 in it. Every second, the
0 should increment by 1.
What I get: A one second delay, see the window with a 1 in it, and then
nothing appears to happen. Never see the 0, never see a 2. Any quick
clues? Thanks. Nick. (Python 2.4
[EMAIL PROTECTED] wrote:
"""
What I want: A little window to open with a 0 in it. Every second, the
0 should increment by 1.
What I get: A one second delay, see the window with a 1 in it, and then
nothing appears to happen. Never see the 0, never see a 2. Any quick
clues? Thanks. Nick. (Python 2.4
"""
What I want: A little window to open with a 0 in it. Every second, the
0 should increment by 1.
What I get: A one second delay, see the window with a 1 in it, and then
nothing appears to happen. Never see the 0, never see a 2. Any quick
clues? Thanks. Nick. (Python 2.4, Win98).
"""
from Tkint
Peter Otten schrieb:
> Pseud O'Nym wrote:
>
>
>>the following fragment doesn't cause any errors and results in buttons the
>>correct size for the images, but the buttons don't work, and the images
>>aren't displayed. If I add a text property, and remove the images, they
>>work fine, so the rest o
Pseud O'Nym wrote:
> the following fragment doesn't cause any errors and results in buttons the
> correct size for the images, but the buttons don't work, and the images
> aren't displayed. If I add a text property, and remove the images, they
> work fine, so the rest of my code's OK. I've searche
"Pseud O'Nym" <[EMAIL PROTECTED]> writes:
> class App:
> def __init__(self, master):
> frame = Frame(master)
> frame.pack(side=LEFT, fill=Y)
> image1 = PhotoImage(file='button_a.gif')
> self.button = Button(frame, image=image1)
> self.button.pack(side=TOP)
>
> Can anyone enli
Hi,
the following fragment doesn't cause any errors and results in buttons the
correct size for the images, but the buttons don't work, and the images
aren't displayed. If I add a text property, and remove the images, they work
fine, so the rest of my code's OK. I've searched this group and Python
Sean McIlroy wrote:
I've got a bunch of Frames, all packed into the root window with
side=TOP, and in each Frame I've got a Checkbutton packed with
side=LEFT. I expected the Checkbuttons to be flush with the left edge
of the window, but they're not, and it looks a little gross. How do I
get them to
On 26.12.2004, at 16:38, Sean McIlroy wrote:
I've got a bunch of Frames, all packed into the root window with
side=TOP, and in each Frame I've got a Checkbutton packed with
side=LEFT. I expected the Checkbuttons to be flush with the left edge
of the window, but they're not, and it looks a little gr
[EMAIL PROTECTED] (Sean McIlroy) writes:
> I've got a bunch of Frames, all packed into the root window with
> side=TOP, and in each Frame I've got a Checkbutton packed with
> side=LEFT. I expected the Checkbuttons to be flush with the left edge
> of the window, but they're not, and it looks a litt
I've got a bunch of Frames, all packed into the root window with
side=TOP, and in each Frame I've got a Checkbutton packed with
side=LEFT. I expected the Checkbuttons to be flush with the left edge
of the window, but they're not, and it looks a little gross. How do I
get them to align?
--
http://m
Oleg Paraschenko wrote:
[snip]
In my case "Hello" works and "Quit" doesn't (GUI stays frozen).
Linux, Python 2.3.3, pygtk-0.6.9.
That's not a multithreading issue, but just the way the quit method works.
Try:
-
import time
from Tkinter import *
root
Hello John,
> Mark,
>
> I tried your code snippet with Python 2.3.4. Worked fine. Only
problem was
> that the program fell off the end and terminated before the second
thread
> could open the Tkinter window. So I added these lines at the end to
make the
> main thread wait:-
>
> from msvcrt import
> Date: Thu, 16 Dec 2004 11:59:53 GMT
> From: "John Pote" <[EMAIL PROTECTED]>
>
> "Mark English" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> Is there a safe way to run tkinter in a multithreaded app
> where the mainloop runs in a background thread ?
>
>
> I tried your code
"Mark English" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Is there a safe way to run tkinter in a multithreaded app where the
mainloop runs in a background thread ?
Mark,
I tried your code snippet with Python 2.3.4. Worked fine. Only problem was
that the program fell off the
Is there a safe way to run tkinter in a multithreaded app where the
mainloop runs in a background thread ?
Here's some test code demonstrating the problem. I'm running Python2.4
under Windows 2000.
Code snip starts-
from Tkinter import *
def GetTkinterThread():
im
92 matches
Mail list logo