Thank you for the discussions, everyone! I had figured this to be the case
while reading Tcl sources. Your confirmations were very helpful.

I guess the point in short is anything that touches the Tcl interpreter
should be done in the same thread (threading module thread) the interpreter
has been started in or risk hitting hard-to-debug problem.

Thanks!
Nam

On Mon, Mar 26, 2018 at 4:02 PM, Michael Lange <klappn...@web.de> wrote:

> Hi,
>
> On Mon, 26 Mar 2018 14:41:28 -0700
> Nam Nguyen <namngu...@google.com> wrote:
>
> > On this note, is setting/getting variables (StringVar, IntVar etc)
> > considered GUI action? Why, or why not?
> > Thanks!
> > Nam
>
> as Brian already pointed out, when setting/getting those varaible's
> values Tcl commands are involved. A less technical but (maybe) more
> obvious explanation may be that setting the variable value may change
> directly for example the string displayed in a Label widget. Considering
> this I believe it is rather evident that it actually is gui action.
>
> Best regards
>
> Michael
>
> .-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.
>
> You go slow, be gentle.  It's no one-way street -- you know how you
> feel and that's all.  It's how the girl feels too.  Don't press.  If
> the girl feels anything for you at all, you'll know.
>                 -- Kirk, "Charlie X", stardate 1535.8
>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
https://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to