[Tkinter-discuss] How to change font sizes in a Tkinter app

Cameron Laird Cameron at Phaseit.net
Tue Sep 14 13:39:06 CEST 2004


On Mon, Sep 13, 2004 at 06:23:05PM -0600, stewart at midtoad.homelinux.org wrote:
			.
			.
			.
> I posted a question on this topic a few days, and got three interesting, and
> quite varied, approaches to a solution from Jeff Epler, Martin Franklin and
> Michael Lange.  One of the approaches apparently works under Linux, but wouldn't
> work (for me) under Windows, at least not yet.  I had the most success adopting
> Martin's approach, which is contained in modified form in the code sample below.
> Note that my sample app makes use of Pmw, which you can get from
> http://pmw.sf.net.   My app allows the user to change the font face or the font
> colour interactively.  I leave it as an exercise for the reader to be able to
> change the font face as well (e.g. from Helvetica to Roman or Courier).  
> 
> This list is invaluable for me, because I'm coming across material that seems to
> be absent from any of the information sources I have so far for Tkinter.  
> 
> thanks again!
			.
			.
			.
The best thanks, folks, is to memorialize discoveries and creations in
the Tkinter Wiki <URL: http://tkinter.unpythonic.net/wiki/RecentChanges >
associated with this mailing list.  While I make occasional abortive
efforts to transfer knowledge there, it'll work a WHOLE lot better when 
several more of us are doing so.


More information about the Tkinter-discuss mailing list