On Wed, 3 Jul 2013, Lion Kimbro wrote:

+--
|  I, too, am a big fan of The Old Way:
|
|
| import Tkinter as tk
|
| root = tk.Tk()
|
|
| root.tk.eval("""
| package require Tk
|
| frame .f
| canvas .f.c -bg red -borderwidth 0 -highlightthickness 0 -yscrollcommand
| {.f.vert set}
|   ...snip...
+--

I'm thoroughly impressed.  I had no idea this was possible.  If
it didn't require that I learn Tcl, I might use it.

The whole reason I wrote my Tkinter reference was that when I
started, there was nothing around but the Tkinter Life Preserver,
which explained how to convert Tk from Tcl into Python, but I
didn't feel like learning another language.

Tell me, Mr Kimbro, do you use Teco for a text editor?  You seem
to be an old-timer, based on your posts here.

Best regards,
John Shipman (j...@nmt.edu), Applications Specialist
New Mexico Tech Computer Center, Speare 146, Socorro, NM 87801
(575) 835-5735, http://www.nmt.edu/~john
  ``Let's go outside and commiserate with nature.''  --Dave Farber
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to