Re: [Tkinter-discuss] Checkbutton variable type

2007-08-29 Thread Bob Greschke
> On Tue, 28 Aug 2007 13:30:02 -0600 > Bob Greschke <[EMAIL PROTECTED]> wrote: > >> The Checkbutton widget >> >> Var = IntVar() >> Checkbutton(Frm, text = "Destroy", variable = Var) >> >> wants Var to be an IntVar, but it also works if Var is a StringVar >> and you set() Var to "0" and "1". Is t

[Tkinter-discuss] Tix HList missing at least one method

2007-08-29 Thread Ron Provost
According to the Tix documentation online, HList has an info_bbox() method which returns the bounding box of a given item in the HList. However, when I try to call this method, I get an attribute error. Looking at Tix.py I see that info_bbox() is not implemented. Hazarding a chance (mostly by

[Tkinter-discuss] sqlite3 operational error with tkinter

2007-08-29 Thread tuxfood
Hi. I am writing a small questionnaire application. I am using sqlite3 and tkinter + python. I started off by writing a console application. The application queries a db file i created . But while using in the gui application i am getting an error that a column cannot be decoded into UTF-8. Is th

Re: [Tkinter-discuss] Checkbutton variable type

2007-08-29 Thread Michael Lange
On Tue, 28 Aug 2007 13:30:02 -0600 Bob Greschke <[EMAIL PROTECTED]> wrote: > The Checkbutton widget > > Var = IntVar() > Checkbutton(Frm, text = "Destroy", variable = Var) > > wants Var to be an IntVar, but it also works if Var is a StringVar > and you set() Var to "0" and "1". Is there a pos