MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / enter

Method enter

PySimpleGUI/PySimpleGUI.py:868–879  ·  view source on GitHub ↗

Called by tkinter when mouse enters a widget :param event: from tkinter. Has x,y coordinates of mouse :type event:

(self, event=None)

Source from the content-addressed store, hash-verified

866 self.widget.bind("<ButtonPress>", self.leave)
867
868 def enter(self, event=None):
869 """
870 Called by tkinter when mouse enters a widget
871 :param event: from tkinter. Has x,y coordinates of mouse
872 :type event:
873
874 """
875 if self.text is None: # if tip is diabled
876 return
877 self.x = event.x
878 self.y = event.y
879 self.schedule()
880
881 def leave(self, event=None):
882 """

Callers

nothing calls this directly

Calls 1

scheduleMethod · 0.95

Tested by

no test coverage detected