wml tools GUI: stop tooltips from reapparing when the associated widget is clicked
This commit is contained in:
parent
b17779f8a7
commit
2a10f01fae
1 changed files with 2 additions and 1 deletions
|
@ -190,7 +190,8 @@ mouse pointer stays on the widget for more than 500 ms."""
|
|||
else:
|
||||
self.widget.bind("<Enter>",self.preshow)
|
||||
self.widget.bind("<Leave>",self.hide)
|
||||
self.bind_all("<Button>",self.hide)
|
||||
self.widget.bind("<ButtonPress>",self.hide)
|
||||
self.widget.bind("<ButtonRelease>",self.hide)
|
||||
self.withdraw()
|
||||
def preshow(self,event=None):
|
||||
self.after_cleanup()
|
||||
|
|
Loading…
Add table
Reference in a new issue