THis one workd fine:
.option_add('*Font', "Heveltica 14")
Thanks!
Á.
--
http://mail.python.org/mailman/listinfo/python-list
On Friday, January 25, 2013 10:41:36 PM UTC-6, Angel wrote:
> I am changing the default font for a Tkinter application:
>
>
>
> class FuelControl(Tkinter.Frame):
>
> def __init__(self,master):
>
> self.version='0.02'
>
> self.font=tkFont.Font(family="Helvetica",size=18)
>
class FontSpec:
"""Wrapper for something like 'Arial 10 bold #red'
"""
tkf = None # Tk Font
spec = "" # specification
tkspec = "" # specification for Tk
family = None
size = 0
color = "black"
weight = "normal"
slant = "roman"
underline = 0
overstrike
Dammm it should be Tkinter for subject..:D
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 25 Feb 2005 11:00:41 -0600, phil <[EMAIL PROTECTED]> wrote:
I'm cpmpletely lost on fonts.
I'm using Tkinter
I do medarial = '-*-Arial-Bold-*-*--24-*-*-*-ISO8859-1"
or Courier or Fixed in various sizes.
Works great on my RH 7.2
But a small embedded system Im working on, nothing seems to work
Greg Lindstrom wrote:
I'm running Python 2.3 on a windows box and would like to use PIL to
superimpose text over an existing pgn image. I have no problem getting
the text on the image but can not figure out how to manage fonts. How
to set the font style and size. From reading the archives I s