Re: [Tkinter-discuss] What do you feel is missing from Tkinter?

2010-12-18 Thread Kevin Walzer
On 12/18/10 9:26 AM, pyt...@bdurham.com wrote: Here's my short list of Tkinter weaknesses that I've struggled with: 1. Drag and drop. In fairness, there's a Tkdnd library and a bunch of sample code on the internet. I haven't studied the examples I've collected enough to figure out a simple, reu

Re: [Tkinter-discuss] Off Topic : Tkinter in everyday life

2010-12-18 Thread Kevin Walzer
On 12/18/10 8:57 AM, pyt...@bdurham.com wrote: Craf, I find a tool Tkinter extremely cool and functional, which I am discovering little by little every day. Same here!!! I share your enthusiasm for this tool and I'm on a similar path of discovery (hence all my posts on this mailing list). BT

Re: [Tkinter-discuss] [Fwd: Re: lambda function to simplify]

2010-12-18 Thread Michael Lange
Hi, Thus spoketh "Michael O'Donnell" unto us on Sat, 18 Dec 2010 18:53:01 +0100: > Hi Michael, > > >    self.root.protocol('WM_DELETE_WINDOW', lambda : greeting(self)) > > I've had trouble with lambdas, because variables are not resolved > at declaration time, but at execution time. WOuld not

Re: [Tkinter-discuss] [Fwd: Re: lambda function to simplify]

2010-12-18 Thread Michael O'Donnell
Hi Michael, >    self.root.protocol('WM_DELETE_WINDOW', lambda : greeting(self)) I've had trouble with lambdas, because variables are not resolved at declaration time, but at execution time. WOuld not the following be better: self.root.protocol('WM_DELETE_WINDOW', lambda w=self : greeting(w)) .

Re: [Tkinter-discuss] When to use a Canvas vs. a Frame from a container perspective?

2010-12-18 Thread Michael O'Donnell
Hi Malcom, I use both Canvas and Text for scrollable containers. I use the Canvas when I want pixel accurate placement. I use a Text widget for more lazy placement (one can place items after each other on a row, and start a new row with a "\n"). One can make spreadsheets by placing rows of ent

[Tkinter-discuss] What do you feel is missing from Tkinter?

2010-12-18 Thread python
This post was inspired by Craf's recent post on "Tkinter in everyday life". I'm a recent and enthusiastic convert to Tkinter after having rejected this toolkit for many years. After digging into Tkinter and through the very generous help on this mailing list and elsewhere (stackoverflow.com), I'v

Re: [Tkinter-discuss] Off Topic : Tkinter in everyday life

2010-12-18 Thread python
Craf, > I find a tool Tkinter extremely cool and functional, which I am discovering > little by little every day. Same here!!! I share your enthusiasm for this tool and I'm on a similar path of discovery (hence all my posts on this mailing list). BTW: Another good resource for Tkinter help and c

Re: [Tkinter-discuss] Off Topic : Tkinter in everyday life

2010-12-18 Thread Michael Lange
Hi, Thus spoketh craf unto us on Fri, 17 Dec 2010 23:07:59 -0300: > Hi everyone.! > > I apologize in advance, since English is not my native language and > some things can not understand and misinterpret. > > Very recently I found Python and Tkinter. Needless to say, I find a tool > Tkinter e