A Font Dialog (Tkinter)

Discussion in 'Python' started by Harlin Seritt, Mar 14, 2005.

  1. 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
    Harlin Seritt, Mar 14, 2005
    #1
    1. Advertising

  2. "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
    --
    Raseliarison nirinA, Mar 14, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Karl Hungus

    Font class, external font files question

    Karl Hungus, Feb 4, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    525
    Karl Hungus
    Feb 4, 2004
  2. =?Utf-8?B?Tmlja3k=?=
    Replies:
    2
    Views:
    708
    Matt Berther
    Feb 20, 2005
  3. Michael Glavitsch
    Replies:
    1
    Views:
    762
    Roedy Green
    Jul 15, 2003
  4. Nick Spinel
    Replies:
    0
    Views:
    934
    Nick Spinel
    Jul 25, 2003
  5. mttc
    Replies:
    2
    Views:
    2,386
    Roedy Green
    Jul 3, 2009
Loading...

Share This Page