A Font Dialog (Tkinter)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Harlin Seritt

    #1

    A Font Dialog (Tkinter)

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

    thanks,

    Harlin Seritt

  • Raseliarison nirinA

    #2
    Re: A Font Dialog (Tkinter)

    "Harlin Seritt" wrote:
    [color=blue]
    > Is there a way to call up the Font dialog box (at least in the
    > Windows API) from Tkinter or another module?
    >[/color]

    i'll use the tkFont module and the same way as IDLE calls it.
    looking at the source code may help you:
    [color=blue][color=green][color=darkred]
    >>> import tkFont, idlelib.configD ialog, inspect
    >>> print inspect.getsour ce(tkFont)
    >>> print[/color][/color][/color]
    inspect.getsour ce(idlelib.conf igDialog.Config Dialog.CreatePa geFontTab)
    [color=blue]
    > thanks,
    >
    > Harlin Seritt
    >[/color]

    hope this helps

    --
    nirinA
    --



    Comment

    Working...