GUI.pyw: allow changing tooltip text at runtime
This commit is contained in:
parent
3cbbede271
commit
814d9d1478
1 changed files with 3 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue