I'm doing an app with the AUI manager capabilities (using some of the wxPython demo's for help). All is well, except I'm a bit disappointed with the font management.

The default font for all the widgets (TextCtrl's, StaticText's etc) are a bit large for my design intent and as I try to adjust that, it appears I have to do a

  font = wx.SystemSettings_GetFont(wx.SYS_SYSTEM_FONT)
  font.SetPointSize(9)

Then, for every texty thing:

  myTextThing.setfont(font)
  someOtherThing.setfont(font)

Thus if I have hundreds of texty things, I've got to assign that hundreds of times.

Is there any sort of blanket font setting, perhaps like:

  wx.SystemSettings_SetFont(font)   #this doesn't exist

that could set everything with one fell swoop?

Thanks for your attention...

Ross.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to