Tutorial
The default format for manipulating fonts in windows is:
self.contents.font.name = "font name"
self.contents.font.size = 22
and so on. The reason that self.contents is used first is because this refers to the bitmap (Bitmap) used for the window’s contents.
self.contents.font.size = 22
Whenever fonts need to be "drawn" into a window, the font and draw methods will be called from Bitmap and written into the window contents area.
You must log in to post a comment.