monospaced font in MS Windows with wxpython

Emile van Sebille emile at
Sat Sep 12 00:28:35 CEST 2015

On 9/11/2015 3:16 PM, Javier wrote:
> I am trying to use a monospaced font (preferably small) in MS Windows
> with wxpython.  I have tried
> txtctrl.SetFont(wx.Font(10, wx.MODERN, wx.NORMAL, wx.NORMAL, False, u'Consolas'))
> but no success, I still get a proportional font.

You may also want to try posting to 
as they're more wxpython focused.


More information about the Python-list mailing list