homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients louielu, serhiy.storchaka, terry.reedy
Date 2017年07月13日.00:16:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499905016.38.0.904385636131.issue30870@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2017年07月13日 00:16:56terry.reedysetrecipients: + terry.reedy, serhiy.storchaka, louielu
2017年07月13日 00:16:56terry.reedysetmessageid: <1499905016.38.0.904385636131.issue30870@psf.upfronthosting.co.za>
2017年07月13日 00:16:56terry.reedylinkissue30870 messages
2017年07月13日 00:16:55terry.reedycreate

AltStyle によって変換されたページ (->オリジナル) /