Preview available fonts
1 2 >>> from appuifw import * 3 >>> fonts = available_fonts() 4 >>> fonts.sort() 5 >>> t = Text() 6 >>> for f in fonts: 7 ... t.font = f 8 ... t.add(f + ' ') 9 ... 10 >>> app.body = t
See screenshot.
13482 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
1 2 >>> from appuifw import * 3 >>> fonts = available_fonts() 4 >>> fonts.sort() 5 >>> t = Text() 6 >>> for f in fonts: 7 ... t.font = f 8 ... t.add(f + ' ') 9 ... 10 >>> app.body = t