Eric Brunel said:
>> The Tk instance is registered in a hidden variable in the
>> Tkinter module. When
>> you don't specify a master, it'll use the latest created Tk
>> instance one by
>> default. BTW, the latest should be the only one: it is
>> quite unsafe to create
>> several Tk insta
Alan G Isaac wrote:
[snip]
> On 3/30/2009 3:37 AM Eric Brunel apparently wrote:
>> The Tk instance is registered in a hidden variable in the Tkinter module.
When
>> you don't specify a master, it'll use the latest created Tk instance one by
>> default. BTW, the latest should be the only one: it is
On 3/30/2009 3:37 AM Eric Brunel apparently wrote:
The string representation of Tkinter objects seems to be a design principle in
this module: it'll always evaluate to the representation this object has at
tcl level. Since a XxxVar is represented by an actual variable at tcl level,
its string rep
On 3/30/2009 3:37 AM Eric Brunel apparently wrote:
The object traditionally called root is in fact an instance of the tcl
interpreter that will get the commands generated by the Tkinter module. Due to
tk architecture, creating this interpreter will also create a window, which is
inteneded to be y
Alan G Isaac wrote:
> I'm a complete newbie to GUI.
> I have a couple questions about tkinter.
>
> 1. Where is the list of changes
> in Python 3's tkinter?
I'll let someone else answer this as I don't use Python 3 myself. I guess
there are not many.
> 2. What exactly is the role of the root o
Alan G Isaac wrote:
[snip]
> PS If you were also offering an answer to the second question,
> I missed it altogether, but although it is perhaps slightly
> less obvious than with a StringVar, I would ask the same
> basic question of an IntVar: why does it not behave more
> like an int? E.g., why i
On Mon, 30 Mar 2009 00:13:46 +0100, Alan G Isaac
wrote:
Since you did not address my question about
the nuance of "magic", I'm inclined to treat
you as a "no" vote.
On 3/29/2009 7:19 PM Rhodri James apparently wrote:
And you'd be wrong.
So seriously, you'd read e.g. John's usage
of the te
On Mon, 30 Mar 2009 00:45:41 +0100, Alan G Isaac
wrote:
On 3/29/2009 6:49 PM Scott David Daniels apparently wrote:
What happens to your TV when you change the channel before turning it
on?
I think we can agree this is a safe action, but the result
depends on the kind of TV (and on what "tu
On 3/29/2009 6:49 PM Scott David Daniels apparently wrote:
Right. Tkinter could have been built to make a root at
the first instantiation of a StringVar or IntVar, but it
wasn't. Answering your why is a bit like answering the
"Why did Picasso choose primarily blue in his Blue Period,
rather
On Mon, 30 Mar 2009 00:13:46 +0100, Alan G Isaac
wrote:
Since you did not address my question about
the nuance of "magic", I'm inclined to treat
you as a "no" vote.
And you'd be wrong.
--
Rhodri James *-* Wildebeeste Herder to the Masses
--
http://mail.python.org/mailman/listinfo/python-li
On 3/29/2009 6:50 PM Rhodri James apparently wrote:
In this case, your choice of wording
(the nearest thing we have in print to "tone of voice") did not
inspire me to go digging around in source that you have just as
easy access to, in order to answer questions that I'm not
particularly intereste
On Sun, 29 Mar 2009 22:37:24 +0100, Alan G Isaac
wrote:
On 3/29/2009 2:46 PM Scott David Daniels apparently wrote:
You ask, "What exactly is the role of ...", rather than saying
something like, "I don't understand the role of ...", and continue to
ask why the code is not architected the w
Alan G Isaac wrote:
Alan asked:
- Why does a Variable need a master? - If s is a StringVar instance,
why is str(s) its name rather than its value?
On 3/29/2009 2:46 PM Scott David Daniels apparently wrote:
The answer to that, grasshopper, lies in the answer to the question,
"What are String
On 3/29/2009 2:46 PM Scott David Daniels apparently wrote:
You ask, "What exactly is the role of ...", rather than
saying something like, "I don't understand the role of
...", and continue to ask why the code is not architected
the way you first expected it to be architected, calling
those thi
Alan asked:
- Why does a Variable need a master?
- If s is a StringVar instance, why is
str(s) its name rather than its value?
On 3/29/2009 2:46 PM Scott David Daniels apparently wrote:
The answer to that, grasshopper, lies in the answer to the question,
"What are StringVars designed to do?
Scott David Daniels said:
>> You ask, "What exactly is the role of ...", rather than saying
>> something like, "I don't understand the role of ...", and continue
>> to ask why the code is not architected the way you first expected
>> it to be architected, calling those things you do not unders
Alan G Isaac wrote:
On 3/29/2009 3:43 AM Scott David Daniels apparently wrote:
OK, that was plain rude. a couple of questions is not six questions.
A reply telling you how to get to some of what you are looking for
is assistance. If you want exact answers to an array of questions,
pay someone
On 3/29/2009 7:29 AM Francesco Bochicchio apparently wrote:
1. Tkinter is only a thin wrapper over Tk, a GUI library initially
developed for Tcl language, so many of the answer to the design choices
you question (e.g. what is the master) cannot between answered within
the python documentation b
On 3/29/2009 3:43 AM Scott David Daniels apparently wrote:
OK, that was plain rude. a couple of questions is not six questions.
A reply telling you how to get to some of what you are looking for
is assistance. If you want exact answers to an array of questions,
pay someone to fetch you the answ
Alan G Isaac ha scritto:
On Mar 28, 2:15 pm, Alan G Isaac wrote:
I'm a complete newbie to GUI. I have a couple questions about tkinter.
1. Where is the list of changes in Python 3's tkinter?
2. What exactly is the role of the root object, traditionally
created as ``root=tk.Tk()``?
Alan G Isaac wrote:
On Mar 28, 2:15 pm, Alan G Isaac wrote:
I'm a complete newbie to GUI. I have a couple questions about tkinter.
1. Where is the list of changes in Python 3's tkinter?
2. What exactly is the role of the root object, traditionally
created as ``root=tk.Tk()``?
On
On Mar 28, 2:15 pm, Alan G Isaac
wrote:
I'm a complete newbie to GUI.
I have a couple questions about tkinter.
1. Where is the list of changes
in Python 3's tkinter?
2. What exactly is the role of the root object,
traditionally created as ``root=tk.Tk()``?
What is an example
On Mar 28, 2:15 pm, Alan G Isaac wrote:
> I'm a complete newbie to GUI.
> I have a couple questions about tkinter.
>
> 1. Where is the list of changes
> in Python 3's tkinter?
>
> 2. What exactly is the role of the root object,
> traditionally created as ``root=tk.Tk()``?
> What is an
23 matches
Mail list logo