Re: [Tkinter-discuss] StringVar() .trace(), .trace_vdelete() use

2013-03-07 Thread Michael Lange
Hi, On Wed, 6 Mar 2013 20:11:39 -0700 Bob Greschke wrote: > I saw that earlier in the day (and a couple of weeks ago too). I > understand it just about as well as lambdas. :) Do all of those values > get passed each time a key is pressed? Yes, when you register a function as validation call

Re: [Tkinter-discuss] StringVar() .trace(), .trace_vdelete() use

2013-03-07 Thread Bob Greschke
Now I understand where "bloatware" comes from. :) This will make your eye's water: ### PROG_NAME = "Headache" from Tkinter import * PROG_SEARCHMODS = "><=#*~_" PROGFw = {} PROGFw["Qty"] = 7 PROGBar = {} Root = Tk() ROOTNameVar = StringVar() ROOTQtyVar = StringVar(

[Tkinter-discuss] confused on grid positioning vs. imports

2013-03-07 Thread Monte Milanuk
So... I've been tinkering with python and Tkinter and ttk a bit lately, and because I've been using pylint which complains a lot if I do a wildcard import like I see in many (most?) Tkinter tutorials i.e. from Tkinter import * from ttk import * I've been trying to avoid doing wildcare imports,