Author claytondarwin
Recipients claytondarwin
Date 2011-02-22.17:05:20
SpamBayes Score 2.93574e-07
Marked as misclassified No
Message-id <1298394325.28.0.0845611659637.issue11290@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-02-22 17:05:25claytondarwinsetrecipients: + claytondarwin
2011-02-22 17:05:25claytondarwinsetmessageid: <1298394325.28.0.0845611659637.issue11290@psf.upfronthosting.co.za>
2011-02-22 17:05:20claytondarwinlinkissue11290 messages
2011-02-22 17:05:20claytondarwincreate