Re: [Tkinter-discuss] Combobox - global var not found

2010-04-19 Thread Igor Novikov
Hi, Please note that Combobox widget is a Tile widget. To instantiate this object you should import that from ttk module. Here is a code from your reference link: countryvar = StringVar() country = *ttk*.Combobox(*parent*, textvariable=countryvar) Regards, Igor Novikov sK1 Project http://sk1pr

Re: [Tkinter-discuss] Combobox - global var not found

2010-04-19 Thread Wayne Werner
On Sun, Apr 18, 2010 at 10:25 PM, kimmyaf wrote: > > I am experimenting with TKinter for the first time for my programming > course. > Trying to get a combobox working. At this point I'm not trying to write > elegant code, but at least get it to work for now. > > I keep getting the error below. S

[Tkinter-discuss] Combobox - global var not found

2010-04-19 Thread kimmyaf
I am experimenting with TKinter for the first time for my programming course. Trying to get a combobox working. At this point I'm not trying to write elegant code, but at least get it to work for now. I keep getting the error below. Shouldnt It recognize the Combobox widget from the import? "Nam