GUI.pyw: allow changing tooltip text at runtime

This commit is contained in:
Elvish_Hunter 2015-09-06 11:42:20 +02:00
parent 3cbbede271
commit 814d9d1478

View file

@ -196,6 +196,9 @@ mouse pointer stays on the widget for more than 500 ms."""
if self.preshow_id:
self.after_cancel(self.preshow_id)
self.preshow_id=None
def set_text(self,text):
self.label.configure(text=text)
self.update_idletasks()
class Popup(Toplevel):
def __init__(self,parent,tool,thread):