Re: wxEuphoria - get_facenames() issue
- Posted by Matt Lewis <matthewwalkerlewis at gmai?.co?> Jan 25, 2008
- 739 views
Greg Haberek wrote: > > Matt Lewis wrote: > > > > I don't see a way in the documentation to get 'valid' point sizes. If > > you're actually picking a font, the recommended way is to use > > font_selector(). > > Damn, I was really hoping I could embed the font selection of my app into > the options dialog. I don't really want to use the font_selector(). But my > Googling has not turned up any results on how to do this in wxWidgets. The > one example I saw just used 1 - 40, which is no better than what I'm doing > now. I guess maybe I'll re-arrange things and see how it goes... It looks like on Windows wxWidgets just uses the common dialog provided. I suspect that it uses the same thing on GTK. In the generic font dialog, they also just go 1-40. Quick googling doesn't give me an answer as to whether there's even an API for doing this. Matt