Re: [Tkinter-discuss] Tkinter (python 3) and Sql-Alchemy

2013-01-29 Thread Russell Adams
> I'm thinking I may need to add a trace that does the sync, not > override set(). To answer my own question and put it on the ML for future reference, creating classes for SQL-Alchemy SQL data types that bind a trace callback does indeed synchronize changes that happen to the widget onscreen with

Re: [Tkinter-discuss] Tkinter (python 3) and Sql-Alchemy

2013-01-28 Thread Russell Adams
On Sat, Jan 26, 2013 at 06:37:11PM +0100, Michael Lange wrote: > I don't know anything about sql-alchemy, from what you write my first > idea too was to subclass StringVar and add a datatype attribute to the > new SqlVariable class and let get() and set() handle the conversions > according to self.

Re: [Tkinter-discuss] Tkinter (python 3) and Sql-Alchemy

2013-01-26 Thread Michael Lange
Hi, On Fri, 25 Jan 2013 18:50:56 -0600 Russell Adams wrote: > Does anyone have any code samples, best practices, or could recommend > other open source programs that use tkinter and sql-alchemy that > correctly demonstrate how to work with the pair? (...) > I've tried a few methods now, includin