Re: Tkinter button-motion event behaves differently under Windows and Linux

Liste des GroupesRevenir à cl python 
Sujet : Re: Tkinter button-motion event behaves differently under Windows and Linux
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.lang.python
Date : 11. Nov 2024, 14:43:34
Autres entêtes
Organisation : Stefan Ram
Message-ID : <drag-20241111144018@ram.dialup.fu-berlin.de>
References : 1
John O'Hagan <research@johnohagan.com> wrote or quoted:
I'm posting this in case anyone else encounters the same problem

  Thanks for dropping that knowledge bomb on me!

I haven't found this documented anywhere and I'm interested to know if
anyone can cast any light on it.

  By leveraging grab_set() when you kick off the drag and
  grab_release() when you wrap it up, you're golden - the
  widget you first clicked keeps hogging all those mouse
  events throughout the whole drag shindig, no matter how
  wonky the underlying system's event handling gets.



Date Sujet#  Auteur
11 Nov 24 * SOLVED: Tkinter button-motion event behaves differently under Windows and Linux2John O'Hagan
11 Nov 24 `- Re: Tkinter button-motion event behaves differently under Windows and Linux1Stefan Ram

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal