Answers for "curon pointer tkinter"

0

python tkinter cursor types

from Tkinter import *
import Tkinter

top = Tkinter.Tk()

B1 = Tkinter.Button(top, text ="circle", relief=RAISED,
                         cursor="circle")
B2 = Tkinter.Button(top, text ="plus", relief=RAISED,
                         cursor="plus")
B1.pack()
B2.pack()
top.mainloop()
Posted by: Guest on January-03-2021
0

tkinter mouse loading cursor

def do_something():
 print "starting"
 root.config(cursor="watch")
 root.update()
 time.sleep(5)
 root.config(cursor="")
 print "done"
Posted by: Guest on October-21-2021

Python Answers by Framework

Browse Popular Code Answers by Language