Re: A Dangling Tk Entry

2009-03-13 Thread Rhodri James
On Thu, 12 Mar 2009 04:34:57 -, W. eWatson wrote: I happened to notice that BJ and Rhondi started a small subthread to Nice to know your observation skills are up to scratch :-( this, so I thought I'd explore it. It led to interesting things, but not for its content. I reviewed some

Re: A Dangling Tk Entry

2009-03-12 Thread r
On Mar 11, 1:09 am, Marc 'BlackJack' Rintsch wrote: > Then he did it consequently wrong.  `frame_delay` is always `None` here > so the ``return`` is useless. > > You asked what this code means and now you don't like the answer that > it's somewhat useless code!? > > Ciao, >         Marc 'BlackJac

Re: A Dangling Tk Entry

2009-03-11 Thread W. eWatson
I happened to notice that BJ and Rhondi started a small subthread to this, so I thought I'd explore it. It led to interesting things, but not for its content. I reviewed some things. I'll do you the courtesy or wrapping this up. I'll get straight to the point and be a minimal as possible in my

Re: A Dangling Tk Entry

2009-03-10 Thread Marc 'BlackJack' Rintsch
On Mon, 09 Mar 2009 21:14:51 -0700, W. eWatson wrote: >>> def Set_Enter_Data(self): >>> sdict = {} >>> sdict[ "ok" ] = False >>> sdict[ "anumber" ] = self.anumber >>> dialog = Enter_Data_Dialog( self.master, sdict ) <--- >>> returning >> >> That's

Re: A Dangling Tk Entry

2009-03-10 Thread Rhodri James
On Tue, 10 Mar 2009 12:41:07 -, W. eWatson wrote: [snippety snip] Rhodri James wrote: > You're misunderstanding. The line that you arrowed above has absolutely > nothing whatsoever to do with the method "body()", so keeping on showing > us ever fuller version of that isn't going

Re: A Dangling Tk Entry

2009-03-10 Thread W. eWatson
r wrote: On Mar 10, 10:52 am, "W. eWatson" wrote: [snip: biting the hand that feeds] This is not the first time you have come to c.l.py with "hat in hand" seeking help and then scoffed at suggestions made by well respected posters. I should have known you would just do the same again. I don't k

Re: A Dangling Tk Entry

2009-03-10 Thread r
On Mar 10, 10:52 am, "W. eWatson" wrote: [snip: biting the hand that feeds] This is not the first time you have come to c.l.py with "hat in hand" seeking help and then scoffed at suggestions made by well respected posters. I should have known you would just do the same again. I don't know what yo

Re: A Dangling Tk Entry

2009-03-10 Thread W. eWatson
"Down, Fang! Down, boy. Down." -- Soupy Sales, Comedian, talking to his imaginary animal, circa 1960. Thank you very much. One more quote before I continue. A favorite. "The trouble with most folks isn't their ignorance. It's knowin' so many things that ain't so." by Josh Bil

Re: A Dangling Tk Entry

2009-03-10 Thread r
Alright try this code. The only thing that i left out was inheriting from Frame, but since i cannot see your entire progam i did not want to do that for fear of breaking some other code. You had a lot of useless code in there and more code that was just a spaghetti mess. If you want to return a dic

Re: A Dangling Tk Entry

2009-03-10 Thread r
OK, here is a slightly cleaned up version of this horrible code. I did not change too much at one time for fear of confusing you. The main problem is you did not explicitly grid the entry like i told you earlier, and why you are using eval is beyond any measure of sanity... from Tkinter import * i

Re: A Dangling Tk Entry

2009-03-10 Thread W. eWatson
Rhodri James wrote: > On Tue, 10 Mar 2009 04:14:51 -, W. eWatson > wrote: > >> Marc 'BlackJack' Rintsch wrote: >>> On Mon, 09 Mar 2009 04:22:57 -0700, W. eWatson wrote: >>> Marc 'BlackJack' Rintsch wrote: > On Sun, 08 Mar 2009 22:20:09 -0700, W. eWatson wrote: > >> You didn't

Re: A Dangling Tk Entry

2009-03-09 Thread r
Walter, Why don't you just explain in simple English exactly what you would like to do. You posts have jumped from "why this" to "why that" and none of your jumping around makes much sense. Typically you want to concentrate on one problem at a time and move in a linear fashion not hop around aimle

Re: A Dangling Tk Entry

2009-03-09 Thread Rhodri James
On Tue, 10 Mar 2009 04:14:51 -, W. eWatson wrote: Marc 'BlackJack' Rintsch wrote: On Mon, 09 Mar 2009 04:22:57 -0700, W. eWatson wrote: Marc 'BlackJack' Rintsch wrote: On Sun, 08 Mar 2009 22:20:09 -0700, W. eWatson wrote: You didn't answer my question why entry is necessary at all.

Re: A Dangling Tk Entry

2009-03-09 Thread W. eWatson
Marc 'BlackJack' Rintsch wrote: On Mon, 09 Mar 2009 04:22:57 -0700, W. eWatson wrote: Marc 'BlackJack' Rintsch wrote: On Sun, 08 Mar 2009 22:20:09 -0700, W. eWatson wrote: You didn't answer my question why entry is necessary at all. The original author thought it was necessary to return entr

Re: A Dangling Tk Entry

2009-03-09 Thread Marc 'BlackJack' Rintsch
On Mon, 09 Mar 2009 04:22:57 -0700, W. eWatson wrote: > Marc 'BlackJack' Rintsch wrote: >> On Sun, 08 Mar 2009 22:20:09 -0700, W. eWatson wrote: >> >>> You didn't answer my question why entry is necessary at all. The >>> original author thought it was necessary to return entry. I'll give >>> you

Re: A Dangling Tk Entry

2009-03-09 Thread W. eWatson
Marc 'BlackJack' Rintsch wrote: On Sun, 08 Mar 2009 22:20:09 -0700, W. eWatson wrote: You didn't answer my question why entry is necessary at all. The original author thought it was necessary to return entry. I'll give you a peek at a segment of the code I'm working with here: class Enter_Data

Re: A Dangling Tk Entry

2009-03-09 Thread Marc 'BlackJack' Rintsch
On Sun, 08 Mar 2009 22:20:09 -0700, W. eWatson wrote: > You didn't answer my question why entry is necessary at all. The > original author thought it was necessary to return entry. I'll give you > a peek at a segment of the code I'm working with here: > > class Enter_Data_Dialog(tkSimpleDialog.Di

Re: A Dangling Tk Entry

2009-03-08 Thread W. eWatson
r wrote: On Mar 8, 9:34 pm, "W. eWatson" wrote: Radiboutton(master, textvariable = ... Radiobutton(msster, textvariable = ... Checkbox(master, text=... entry = Entry(master, width=10, ... entry.insert(0,self.slowdown)# testing a default methodology Label( master, text="Max... Entry(master,

Re: A Dangling Tk Entry

2009-03-08 Thread r
On Mar 8, 9:34 pm, "W. eWatson" wrote: > Radiboutton(master, textvariable = ... > Radiobutton(msster, textvariable = ... > Checkbox(master, text=... > entry = Entry(master, width=10, ... > entry.insert(0,self.slowdown)    # testing a default methodology > Label( master, text="Max... > Entry(maste

A Dangling Tk Entry

2009-03-08 Thread W. eWatson
I'm looking at some Tk code written by someone else, and am curious about a methodology in the code. A setup object called SetDlg contains to code to set up parameters for some widgets for a dialog of radio buttons, checkboxes, and text/string entries. It then calls ShowDlg. After it returns in