[Tkinter-discuss] Event debugging

Michael Lange klappnase at web.de
Mon Dec 17 13:13:11 EST 2018


Hi,

On Mon, 17 Dec 2018 07:52:52 +0000
Vasilis Vlachoudis <Vasilis.Vlachoudis at cern.ch> wrote:

> Hi all
> 
> in my application there is one listbox which has a bind
> ("<Double-1>",...) strangely enough under some OS the Double-1 is not
> working. For example in Fedora with KDE it works ok but not on Ubuntu
> with XFCE.
> 
> Is there a way to debug the events? I believe that some other
> widget is intercepting the Button-1 and somehow it blocks the
> Double-1

did you try to add a print(event.widget) to the callback?
Can you post a simple code example that exhibits the problem?

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

It is necessary to have purpose.
		-- Alice #1, "I, Mudd", stardate 4513.3


More information about the Tkinter-discuss mailing list