Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将wx.TextCtrl小部件的字体设置为 Consolas,或者至少是另一种等宽字体。我该怎么办?
font1 = wx.Font(10, wx.MODERN, wx.NORMAL, wx.NORMAL, False, u'Consolas') myTextCtrl.SetFont(font1)