Highlights & Cursors

J.Jacob joost_jacob at hotmail.com
Fri Feb 15 18:01:12 EST 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