python - How could i blink text in listbox -
this question has answer here:
how make blinking text on listbox
item
import tkinter window = tkinter.tk() ncbox = tkinter.listbox(window, width=14, height=7, fg="blue", font=("helvetica", 20)) ncbox.grid(row=2, column=2,columnspan=4,sticky=nw) ncbox.insert("apple") ncbox.insert("banana") ncbox.insert("grape")
now want blink apple on listbox. how that?
you should try following if want iterate on lines in listbox. can't directly check string listbox.
ncbox.get(first, last=none)
if still doesn't work got to:
http://www.tutorialspoint.com/python/tk_listbox.htm
Comments
Post a Comment