Tkinter: Strange behavior using place() and changing cursors

Wojciech Muła wojciech_mula at poczta.null.onet.pl.invalid
Tue Nov 14 10:08:53 EST 2006


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( '<Enter>', self.enterFrame )
 		#self.f.bind( '<Leave>', self.leaveFrame )
 		self.f.configure(cursor = 'sb_h_double_arrow')



More information about the Python-list mailing list