def fixFont(_c,_f):
_c.setFont(_f)
for _m in _c.getComponents():
if (isinstance(_m,Container)):
fixFont(_m,_f)
else:
_m.setFont(_f)
and then to fix the information window and make it 20 point arial:
fixFont(InfoWindow.getInfoWindow(),Font("Arial",0,20))
or the top menu bar:
fixFont(ui,Font("Arial",0,20)
or the internal menu bars:
for menu in ui.getGMenuBar().getSubElements():
for subm in menu.getSubElements():
fixFont(subm.getComponent(),Font("Arial",0,20))
and so on...
did I mention it's a hack?
-Eytan