[wxPython-users] Re: Changing default Font for all controls

Robin Dunn robin at alldunn.com
Mon Sep 11 12:37:03 PDT 2006


Werner F. Bruhin wrote:
> O.K. I think I figured it out, have to do the SetFont before creating 
> the child controls or I have to go through all the children one by one.
> 
> Is this the only way, or is there a way to set it on the parent and tell 
> it to propagate down to the existing children.

If there was a built-in function to do that (which there isn't) then it 
would have to do exactly the same thing and recursively iterate over the 
children.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list