Answers for "tkinter pytho"

1

tkinter

from tkinter import *
from tkinter import ttk
root=Tk()
entry1=Entry(root,cursor="fleur",insertbackground="red")
entry1.pack()
Button(root,text="Get cursor type and colour", command=lambda: print(entry1['cursor'],entry1['insertbackground'])).pack()
root.mainloop()
Posted by: Guest on July-24-2021
2

tkinter

Tkinter is the biuld-in GUI toolkit of python. You can
easily make a graffical software using tkinter.
Posted by: Guest on August-27-2021

Browse Popular Code Answers by Language