[wxpython-users] why doesn't fontlist sort work ?

Stef Mientki s.mientki at ru.nl
Fri May 2 01:14:28 PDT 2008


hello,
I want to see all available fonts,
so I used the following:

  fonts = wx.FontEnumerator ()
  fonts.EnumerateFacenames ()
  fontList = fonts.GetFacenames ()#.sort()
  print fontList

now if I want to see the list ordered,
I would expect to add the sort() method
(I've verified that the type of fontList equals list),
but I get None ?

thanks,
Stef



More information about the wxpython-users mailing list