Message262752
| Author | terry.reedy |
|---|---|
| Recipients | gpolo, kbk, roger.serwy, serhiy.storchaka, terry.reedy, wysaard |
| Date | 2016-04-01.17:51:18 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1459533078.64.0.0158699136235.issue26673@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Serhiy, what do you make of the TclError? Could it be an ArchLinux-specific bug in tk?
Here is the entire function:
def SetFontSample(self, event=None):
fontName = self.fontName.get()
fontWeight = tkFont.BOLD if self.fontBold.get() else tkFont.NORMAL
newFont = (fontName, self.fontSize.get(), fontWeight)
self.labelFontSample.config(font=newFont)
self.textHighlightSample.configure(font=newFont)
The first 3 lines were last touched on 2014-08-03, the last 3 on 2012-10-22. The code seem unexceptional. This works fine for me and, I presume, most everyone else.
wysaard: What tk version does Arch Linux provide you? Check Help => About IDLE before you hit configure. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-04-01 17:51:18 | terry.reedy | set | recipients: + terry.reedy, kbk, gpolo, roger.serwy, serhiy.storchaka, wysaard |
| 2016-04-01 17:51:18 | terry.reedy | set | messageid: <1459533078.64.0.0158699136235.issue26673@psf.upfronthosting.co.za> |
| 2016-04-01 17:51:18 | terry.reedy | link | issue26673 messages |
| 2016-04-01 17:51:18 | terry.reedy | create | |