Title: Signature.html
Very good. Thanks.
(I posted this about 20 hours ago with an image of my screen output. It
appears it's waiting for moderator approval, so I'm posting it again
w/o the image. Maybe the image will show up later. I think some
progress can be made with out it. )
Well, the
Title: Signature.html
I had commented out
# entry = Entry(master, width=10,
textvariable=self.slowdownVar).grid(row=4, column=1), which had worked
fine previously to my changes.
I added your two statements after remarking
entry = Entry(master, width=10).grid(row=4, column=1)
IDLE the
Title: Signature.html
On a branch off this thread, I've mentioned a problem with this
approach. It seems right, but I haven't bridged it yet. Do you have
some simple Tk Python code that shows how to do this?
Alan Gauld wrote:
"Wayne Watson" sierra_mtnv...@sbcglobal.net wrote
Wayne Watson sierra_mtnv...@sbcglobal.net wrote
Signature.htmlAnother thought occurred to me about this situation.
Suppose I have a dialog with two Entry objects in a dialog object
called TwoEntries:
entry1 = Entry(master, width=10).grid(row=4, column=1)
entry2 = Entry(master,
Title: Signature.html
Thanks. Your statement is reassuring. Without trying to give my self a
pat on the back, exactly written as I figured. It seems so very
obvious, but the lack of attention to using that style makes one wonder
why it isn't commonly found anywhere in the discussion of more
Wayne Watson sierra_mtnv...@sbcglobal.net wrote
Yep, when I bowed of programming long ago, I had Ousterhout's
(something like that) book, and finally sold it on Amazom 5 years
ago
It was a good book in its day but is now well overdue an update.
The book I'd recommend getting is Tcl/Tk in a
Alan Gauld alan.ga...@btinternet.com wrote
Yep, when I bowed of programming long ago, I had Ousterhout's
It was a good book in its day but is now well overdue an update.
And lo and behold, listed on Amazon is the 2nd edition due
in August 2009!
How's that for service :-)
BTW I also
Sounds like the O'Reilly book might be worth it. I have an interlibrary
loan request out for a highly recommended Tk/Tcl book. I tried Cygwin
about 5 years ago, and it just didn't cut it. Odd problems. It may be
worth a shot again when I can free up some time.
Alan Gauld wrote:
"Wayne
Alan Gauld alan.ga...@btinternet.com wrote
I think Tkinter needs an update too, there seem to be quite a few
new Tk widgets that are not available in Tkinter... or is it just
that
they are not documented? I must have a poke around in v2.5...
I spoke too soon, its just the documentation
Wayne Watson sierra_mtnv...@sbcglobal.net wrote
Can you easily construct a simple example where they are
absolutely necessary, or at least provide a situation where
they are necessary?
I don't think you can. They are a convenience feature
not a necessity. But the same can be said of
Title: Signature.html
I have no idea of the history of these variables, but they have very
limited descriptions and examples. Maybe someone like Grayson goes into
detail on them. Looking at the program I'm concerned about, it almost
looks like the use is a learned response to dealing with the
Title: Signature.html
Another thought occurred to me about this situation. Suppose I have a
dialog with two Entry objects in a dialog object called TwoEntries:
entry1 = Entry(master, width=10).grid(row=4, column=1)
entry2 = Entry(master, width=10).grid(row=5, column=1)
and I do not use a
Wayne Watson sierra_mtnv...@sbcglobal.net wrote
Apparently Entry does not have a callback.
Thats the magic of Control Variables. They automatically
get populated when the user enters data into the Entry widget.
But since Entry widgets are usually part if a form and there
will be several
On Thu, Mar 5, 2009 at 10:52 PM, Wayne Watson
sierra_mtnv...@sbcglobal.net wrote:
Apparently Entry does not have a callback. It seems as though it should. If
one enters data into it and presses Return, then it would be good to know
what the data is, so it can be used elsewhere. However, that's
Title: Signature.html
Control variables. What is the difference between IntVar, BooleanVar,
StringVar, and DoubleVar? For example, in the program below, it looks
like I get the same result usint IntVar or StringVar. It almost appears
the usage depends on what widget one uses: Entry,
On Fri, Mar 6, 2009 at 7:15 AM, Wayne Watson
sierra_mtnv...@sbcglobal.net wrote:
Control variables. What is the difference between IntVar, BooleanVar,
StringVar, and DoubleVar?
The difference is the type of value returned by get().
For example, in the program below, it looks like
I get
I've just got to stop using one letter for variables, especially ones
that sound alike! :-)
Other than v tracking every value change made, did I gain anything by
using it? It seems to me that control variables are of marginal use. I
might have thought they were necessary for use with scale
On Fri, Mar 6, 2009 at 11:26 AM, Wayne Watson
sierra_mtnv...@sbcglobal.net wrote:
I've just got to stop using one letter for variables, especially ones that
sound alike! :-)
Other than v tracking every value change made, did I gain anything by using
it? It seems to me that control variables
Title: Signature.html
Apparently Entry does not have a callback. It seems as though it
should. If one enters data into it and presses Return, then it would be
good to know what the data is, so it can be used elsewhere. However,
that's not the way it works. One seems to need a button or some
19 matches
Mail list logo