MCPcopy Create free account
hub / github.com/ActiveState/code / initialize_font

Function initialize_font

recipes/Python/580729_Metro_UI_Tkinter/recipe-580729.py:636–642  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

634 tk.Radiobutton.__init__(self, master, indicatoron=0, background=background, selectcolor=background, activebackground=background, selectimage=selectimage, image=image, highlightthickness=0, borderwidth=0, **kw)
635
636def initialize_font():
637 if "Open Sans" in tkFont.families():
638 default_font = tkFont.nametofont("TkDefaultFont")
639 default_font.configure(family="Open Sans", size=11)
640
641 default_font = tkFont.nametofont("TkTextFont")
642 default_font.configure(family="Open Sans", size=11)
643
644if __name__ == "__main__":
645

Callers 1

recipe-580729.pyFile · 0.85

Calls 1

configureMethod · 0.45

Tested by

no test coverage detected