A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.tutorialspoint.com/python/tk_cursors.htm below:

Tkinter Cursors

Tkinter Cursors

Python Tkinter supports quite a number of different mouse cursors available. The exact graphic may vary according to your operating system.

Here is the list of interesting ones −

Example

Try the following example by moving cursor on different buttons −

from tkinter import *
import tkinter

top = Tk()
B1 = Button(top, text ="circle", relief=RAISED,\ cursor="circle")
B2 = Button(top, text ="plus", relief=RAISED,\ cursor="plus")

B1.pack()
B2.pack()
top.mainloop()

python_gui_programming.htm


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4