Highlights & Cursors

J.Jacob joost_jacob at hotmail.com
Sat Feb 16 00:01:12 CET 2002


[Lawrence Oluyede]
> My question is: how can i change the cursor in a frame or some others
> widgets?
>

You mean this ?

from Tkinter import *
widget = Button(text='new cursor', padx=10, pady=4)
widget.pack()
widget.config(cursor='cross')    # others: 'gumby' 'hand2' 'pencil'
'watch'
mainloop()

Don't ask me the best place to look up Tkinter things like this on the
internet i am still looking for that myself :)



More information about the Python-list mailing list