Terry J. Reedy added the comment:

Serhiy: question about tkinter.wantobjects.

ConfigDialog sets the font options of label font_sample and text 
text_highlight_sample with a font tuple such as font=('courier', 12, '').

In the test, I expected retrieval of the font option with
        sample_font = dialog.font_sample['font']
        hilight_font = dialog.text_highlight_sample['font']
to return tuples, but I get a string: '{courier new} 10 normal'. 

I checked and root.wantobjects() is returning the default True.  Should not the 
options be returned as tuples?

----------

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

Reply via email to