1

How could i make a 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 i want to blink apple on the listbox. how to do that?

Akash Nil
  • 693
  • 10
  • 26

1 Answers1

-2

You should try the following if you want to iterate over the lines in the listbox. You can't directly check for a string the listbox.

ncbox.get(first, last=None) 

If this still doesn't work for you got to:

http://www.tutorialspoint.com/python/tk_listbox.htm

http://zetcode.com/gui/tkinter/widgets/

http://effbot.org/tkinterbook/listbox.htm

AkaiShuichi
  • 144
  • 1
  • 1
  • 9
  • This answer doesn't seem to address the question at all, which is asking how to cause an item in the listbox to blink. – Bryan Oakley Jul 23 '15 at 10:41