def setStimFont(self, font=None, refresh=True):
"""Set the stimulus font.
Args:
font: A wx.Font object specifying the font for the stimulus
text. If None (default) then the font will be set to
a reasonable default.
"""
if font is None:
self.stimFont = self.defaultStimFont
else:
self.stimFont = font
if refresh:
self.refresh()
评论列表
文章目录