[Tutor] Tkinter questions

Alberto Troiano albertito_g at hotmail.com
Tue May 17 14:43:56 CEST 2005


Thanks for the reply

I read the link and I think I've got all what I need (at least for now)

Thanks again

Regards

Alberto

>From: jfouhy at paradise.net.nz
>To: Tutor Tutor <tutor at python.org>
>Subject: Re: [Tutor] Tkinter questions
>Date: Tue, 17 May 2005 11:03:45 +1200 (NZST)
>
>Quoting Alberto Troiano <albertito_g at hotmail.com>:
>
> > How can I change the background color of a label??????
> > How can I change the font-size and make it BOLD??????
>
>Check out Fredrik Lundh's _Introduction to Tkinter_:
>http://www.pythonware.com/library/tkinter/introduction/
>
>In particular, the section on widget customization/styling:
>http://www.pythonware.com/library/tkinter/introduction/widget-styling.htm
>
>If you are using Pmw, you can also use Pmw.logicalfont() to change the 
>font.
>
>(eg:
>
>tk = Tk()
>fixed = Pmw.logicalfont(name='Fixed', weight='bold')
>Label(tk, background='blue', font=fixed, text='Hello world!').pack()
>
>)
>
>--
>John.
>_______________________________________________
>Tutor maillist  -  Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor


Gaucho




More information about the Tutor mailing list