Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tkinter pack grid and place

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()

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #tkinter #pack #grid #place
ADD COMMENT
Topic
Name
6+6 =