#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Location
    Somewhere over the Rainbow
    Posts
    128
    Rep Power
    12

    Tkinter Fonts Question


    Hi, Im making a text editor and I would like to know how can I change the font size of text in my form and the font type?, Also how can I change the font size of my showinfo form?
    Thanks
  2. #2
  3. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407
    I dont know Tkinter very well.. So if you have a tutorial that i can read i would be very greatfull if you post it anyways.. try something like

    Code:
    entry = Tkinter.Entry(frame,foreground="#0000cc", background="#ffffff", borderwidth=1 )
    the forground changes the color of your text.. if you are on linux then just type in pydoc Tkinter and you will figure it out good luck...
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Location
    Somewhere over the Rainbow
    Posts
    128
    Rep Power
    12
    Thanks for your reply, about the tutorial you can try with this link:

    http://www.pythonware.com/library/tk...to-tkinter.pdf

IMN logo majestic logo threadwatch logo seochat tools logo