On Sat, Aug 1, 2009 at 12:12 PM, Mohannad
Mohammad<[email protected]> wrote:

> Kindly refer to the attached photo.
> There are two sentences appearing when the user checked two checkbutton, I
> make it as a practice.
> ok
> I want to change the font of these two sentences. how?

>         self.box = Text(self, width = 400, height = 10, wrap = WORD)

Add a font= parameter, for example
self.box = Text(self, width = 400, height = 10, wrap = WORD,
font=("Helvetica", 10, "bold italic")

http://www.pythonware.com/library/tkinter/introduction/x444-fonts.htm

Kent
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to