[go: up one dir, main page]

Menu

[r19]: / Fonts.py  Maximize  Restore  History

Download this file

16 lines (10 with data), 243 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#!/usr/bin/python
# -*- coding: utf-8 -*-
import wx
def ChangeFont(event, font, IdRange):
"""
Change Fond
Updates the editor's font.
"""
for text_id in IdRange:
wx.FindWindowById(text_id).StyleSetFont(0, font)