import wxapp = wx.PySimpleApp()dialog = wx.FontDialog(None, wx.FontData())if dialog.ShowModal() == wx.ID_OK: data = dialog.GetFontData() font = data.GetChosenFont() colour = data.GetColour() print 'You selected: "%s", %d pointsn' % (font.GetFaceName(), font.GetPointSize())dialog.Destroy()
Name (required)
email (will not be published) (required)
Website