[Tkinter-discuss] Tkinter page layout

2008-11-04 Thread btkuhn
Hi guys, I'm new to the list; actually just found out it existed. I'm fairly new to python and programming, and I'm just beginning with Tkinter. I'm trying to layout my page, and I'm having problems understanding the action of some of the frames. I actually posted about this on a general pyth

Re: [Tkinter-discuss] Tkinter page layout

2008-11-04 Thread btkuhn
Thanks Tim. I actually started out using the grid geometry manager, though, and I switched to pack specifically because I thought maybe the problem was being caused by the grid manager, and thought maybe the pack manager would correct things. I'm getting the same problem with both the pack and

Re: [Tkinter-discuss] Tkinter page layout

2008-11-04 Thread btkuhn
Thanks Guilherme. I think you're right that I must be approaching my layout incorrectly. Your sample code does work, but I anticipate that this would get fairly difficult to manage with complex windows. I thought that I was approaching the layout problem logically. Basically, I want two frames,

[Tkinter-discuss] How to bind to a drawn object?

2008-11-16 Thread btkuhn
Hello everyone, I am trying to create bindable shapes with Tkinter that are dragged when the user drags with the mouse. Here is an example (some code edited out for simplicity). This is all within an "App" class: self.canvas=Canvas(self.display, bg='blue') self.canvas.bind('', self.onDrag) se

Re: [Tkinter-discuss] How to bind to a drawn object?

2008-11-16 Thread btkuhn
Quoting Guilherme Polo <[EMAIL PROTECTED]>: On Sun, Nov 16, 2008 at 3:47 PM, <[EMAIL PROTECTED]> wrote: Hello everyone, I am trying to create bindable shapes with Tkinter that are dragged when the user drags with the mouse. Here is an example (some code edited out for simplicity). This is all

Re: [Tkinter-discuss] How to bind to a drawn object?

2008-11-16 Thread btkuhn
Yes, this works great, thanks very much. I don't want to just copy your code though, I'm trying to understand what I'm doing wrong, so I tried modifying my code to more or less mirror your technique. I am now getting an unknown error message that I can't figure out, and I suspect that I am "thi