tkinter - Widget does not detect entry of mouse when the mouse is held down before entering widget
问题 How can I trigger an event that fires when the mouse enters a widget (e.g. a Frame) while the mouse is held down? It seems that the event in question only fires when the mouse is up. I'm using this code (approximately) so far: self._root_window = tkinter.Tk() self._root_frame = tkinter.Frame() self._root_frame.pack(fill=tkinter.X, padx=5, pady=5) frame = tkinter.Frame(master=self._root_frame, ...) self._root_window.bind('<Button-1>', self._on_button_down) self._root_window.bind('