A Font Dialog (Tkinter)

Raseliarison nirinA nirina at mail.blueline.mg
Mon Mar 14 14:30:58 EST 2005


"Harlin Seritt" wrote:

> Is there a way to call up the Font dialog box (at least in the
> Windows API) from Tkinter or another module?
>

i'll use the tkFont module and the same way as IDLE calls it.
looking at the source code may help you:

>>> import tkFont, idlelib.configDialog, inspect
>>> print inspect.getsource(tkFont)
>>> print
inspect.getsource(idlelib.configDialog.ConfigDialog.CreatePageFontTab)

> thanks,
>
> Harlin Seritt
>

hope this helps

--
nirinA
--






More information about the Python-list mailing list