New submission from Clayton Darwin <claytondar...@gmail.com>:

In working with the ttk.Combobox (Windows XP, Python 3.1), I have found that 
setting the values for the popdown using ttk.Combobox['values'] has an problem 
converting the string to the proper Tcl value when (and this is the only 
instance I have found) there is a backslash in the string but no spaces.  In 
this case, the string will translate if it is enclosed in curly brackets 
'{'+mystring+'}', which I believe is the Tcl syntax to not make substitutions.

I have attached a short script that illustrates this issue.

Clayton

----------
components: Tkinter
files: tcl_string_test.py
messages: 129097
nosy: claytondarwin
priority: normal
severity: normal
status: open
title: ttk.Combobox['values'] String Conversion to Tcl
type: behavior
versions: Python 3.1
Added file: http://bugs.python.org/file20843/tcl_string_test.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11290>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to