Fixed Width Font in Tkinter

Discussion in 'Python' started by Dustan, Dec 7, 2005.

  1. Dustan

    Dustan Guest

    How do I make a fixed font width in Tkinter? Here's my code (there's
    more, of course, but this is the focus of the question):

    import tkFont
    Font=tkFont.Font(root=master, family="Courier", size=14)

    I'm sure it's possible, because it's done in IDLE.
     
    Dustan, Dec 7, 2005
    #1
    1. Advertising

  2. Dustan

    Dustan Guest

    Never mind, I got it to work.
     
    Dustan, Dec 7, 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. Arthur Connor
    Replies:
    9
    Views:
    616
  2. johnp
    Replies:
    4
    Views:
    3,680
    Toby Inkster
    May 23, 2005
  3. Mars Lin

    showing fixed width font in SWT

    Mars Lin, Aug 14, 2006, in forum: Java
    Replies:
    2
    Views:
    944
    fiziwig
    Aug 14, 2006
  4. mttc
    Replies:
    2
    Views:
    2,415
    Roedy Green
    Jul 3, 2009
  5. Gernot Frisch
    Replies:
    28
    Views:
    1,731
    Neredbojias
    May 7, 2010
Loading...

Share This Page