<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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 complex
collection of widgets (see my other comments below). In my case, really
following the author's (of 2000 lines of code I have) makes me wonder
why he didn't do it that way.&nbsp; I suspect the answer is he had recently
taken a Python class before writing it, and was following what simply
was taught to get this program completed. (It is not a classroom
program.) I know he put it together quickly, and did quite a
spectacular job of writing the code and interfacing it to some complex
h/w. <br>
<br>
Alan Gauld wrote:
<blockquote cite="mid:gp0253$1vh$1@ger.gmane.org" type="cite"><br>
"Wayne Watson" <a class="moz-txt-link-rfc2396E" href="mailto:sierra_mtnview@sbcglobal.net">&lt;sierra_mtnview@sbcglobal.net&gt;</a> wrote
  <br>
  <br>
  <blockquote type="cite">Signature.htmlAnother thought occurred to me
about this situation.
    <br>
Suppose I have a dialog with two Entry objects in a dialog object
called TwoEntries:
    <br>
&nbsp;&nbsp; entry1 = Entry(master, width=10).grid(row=4, column=1)
    <br>
&nbsp;&nbsp; entry2 = Entry(master, width=10).grid(row=5, column=1)
    <br>
and I do not use a StringVar to return the values entered.
    <br>
Is it possible to reach inside TwoEntries, after returning from it,
    <br>
and grab entry1 and 2? It would seem so if the call was
dialog=TwoEntries(...).
    <br>
  </blockquote>
  <br>
Sure, just use
  <br>
  <br>
x = dialog.entry1.get()
  <br>
y = dialog.entry2.get()
  <br>
  <br>
There really is nothing special going on.
  <br>
  <br>
  <blockquote type="cite">&nbsp;I have no idea of the history of these
variables, but they have
    <br>
very limited descriptions and examples.
    <br>
  </blockquote>
  <br>
I assume because they have a very simple and specific purpose.
  <br>
There is probably more on them if you look at the original Tcl/Tk
  <br>
documentation. Remember Tkinter is just a wrapper arpund Tcl/Tkl
  <br>
and Tk has been around for a long time (20 years now)
  <br>
</blockquote>
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
with the thought I have no plan to use it. Ha! The same thing with
Linux/Unix. Five years ago, I marginally used it, and swore off it
after having it heavily 10 years before. Two weeks ago, I found a
meteor analysis program written in C and to uncover it was of use have
(temporarily) climbed back on Linux.&nbsp; I manged to get a clunky old PC
back that I gave a friend 3 years ago to put RH on. He had since gone
on to a laptop, and put the PC in his garage. Just can't shake the
computer habit. :-)<br>
<blockquote cite="mid:gp0253$1vh$1@ger.gmane.org" type="cite"><br>
Alan G. <br>
  <br>
_______________________________________________
  <br>
Tutor maillist&nbsp; -&nbsp; <a class="moz-txt-link-abbreviated" href="mailto:Tutor@python.org">Tutor@python.org</a>
  <br>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/tutor">http://mail.python.org/mailman/listinfo/tutor</a>
  <br>
  <br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html;" http-equiv="Content-Type">
<title>Signature.html</title>
<pre class="moz-signature" cols="76">           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
<font color="#330099">            </font>
<span style="font-weight: bold;"></span><b><b
 style="color: rgb(204, 51, 204);" class="b"><span
 style="color: rgb(255, 153, 255);"></span><span
 style="font-family: monospace;"></span></b></b>
<span style="color: rgb(102, 0, 204);">                </span><font
 class="sqq"><span style="color: rgb(102, 0, 204);">&#8220;</span><span
 style="color: rgb(102, 0, 204);" class="sqq">In mathematics you don't understand things. </span>
<span style="color: rgb(102, 0, 204);">                 </span><span
 style="color: rgb(102, 0, 204);" class="sqq">You just get used to them.</span><span
 style="color: rgb(102, 0, 204);">&#8221;</span> -- John Von Neumann
                    (P.S. The same is true in life.)
</font></pre>
<div style="margin-left: 40px;">
<b><b style="color: rgb(204, 51, 204);" class="b"><span
 style="font-family: monospace;"></span></b></b></div>
<pre class="moz-signature" cols="76"><b><b
 style="color: rgb(204, 51, 204);" class="b"><span
 style="font-family: monospace; color: rgb(153, 51, 153);"></span></b></b><b
 style="color: rgb(204, 51, 204);" class="b"><span
 style="font-family: monospace; color: rgb(153, 51, 153);"></span></b><span
 style="color: rgb(153, 51, 153);"></span><span
 style="color: rgb(153, 51, 153);">
</span><span style="color: rgb(153, 51, 153);"></span><b
 style="color: rgb(204, 51, 204);" class="b"><span
 style="font-family: monospace;"></span></b><span
 style="color: rgb(204, 51, 204);"></span>                    Web Page: &lt;<a class="moz-txt-link-abbreviated" href="http://www.speckledwithstars.net/">www.speckledwithstars.net/</a>&gt;</pre>
</div>
</body>
</html>