Re: Tkinter: Strange behavior using place() and changing cursors

2006-11-15 Thread Eric Brunel
On Tue, 14 Nov 2006 17:45:52 +0100, Mudcat <[EMAIL PROTECTED]> wrote: > The problem is I need the ability to change it dynamically. I don't > want the cursor to be the double_arrow the whole time the mouse hovers > inside that frame. It's supposed to be a resize arrow when the mouse is > on the fra

Re: Tkinter: Strange behavior using place() and changing cursors

2006-11-14 Thread John McMonagle
Mudcat wrote: > Is there something I'm supposed to do in order > to prevent this from happening? Yes. Instead of configuring the cursor on the frame, do it on the master: self.master.configure(cursor='sb_h_double_arrow') -- This message has been scanned for viruses and dangerous content by

Re: Tkinter: Strange behavior using place() and changing cursors

2006-11-14 Thread Wojciech Muła
Mudcat wrote: > I have also determined that this is not a problem if the button is not > packed inside the frame. So somehow the interaction of the internal > button is causing this problem. Problem is really strange, and seems to be a Tk issue, not Tkinter. I've observed that if method configure

Re: Tkinter: Strange behavior using place() and changing cursors

2006-11-14 Thread Mudcat
Wojciech Mula wrote: > Mudcat wrote: > > [...] > > You have to set cursor once, Tk change it automatically: > > > def buildFrame(self): > > self.f = Frame(self.master, height=32, width=32, relief=RIDGE, > > borderwidth=2) > > self.f.place(relx=.5,rely=.5) >

Re: Tkinter: Strange behavior using place() and changing cursors

2006-11-14 Thread Wojciech Muła
Mudcat wrote: > [...] You have to set cursor once, Tk change it automatically: > def buildFrame(self): > self.f = Frame(self.master, height=32, width=32, relief=RIDGE, > borderwidth=2) > self.f.place(relx=.5,rely=.5) #self.f.bind( '', self.enterFr

Tkinter: Strange behavior using place() and changing cursors

2006-11-13 Thread Mudcat
I was trying to design a widget that I could drag and drop anywhere in a frame and then resize by pulling at the edges with the mouse. I have fiddled with several different approaches and came across this behavior when using the combination of place() and configure(cursor = ...) This problem doesn'