Thu 28 Apr 2011
wxPython: Learning to Use Fonts
Posted by Mike under Cross-Platform, Python, wxPython
No Comments
Have you ever wondered about how to change your font in wxPython? Well, now is your lucky day because that is exactly what this tutorial is going to cover. We will look at the following three items:
- Built-in fonts of wxPython
- The font dialog
- The font enumerator demo from the wxPython demo
Fonts are an important part of your program and enhance your program’s readability. It’s always a good idea to make sure your fonts are the right size and place. Yes, that’s common sense, but sometimes common sense doesn’t happen in programming. Enough philosophizing. Let’s get to the meat of the article!